diff --git a/package.json b/package.json index b0576c7..96f85f5 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "whatwg-fetch": "^0.9.0" }, "dependencies": { + "array.prototype.find": "^1.0.0", "load-script": "^1.0.0" }, "standard": { diff --git a/src/ReactPlayer.js b/src/ReactPlayer.js index 9791969..cfed0da 100644 --- a/src/ReactPlayer.js +++ b/src/ReactPlayer.js @@ -1,4 +1,5 @@ import React, { Component, PropTypes } from 'react' +import 'array.prototype.find' import players from './players'