├── .babelrc ├── .eslintignore ├── .eslintrc ├── .gitattributes ├── .gitignore ├── .npmignore ├── .travis.yml ├── README.md ├── package.json ├── src ├── create-event-handlers │ ├── index.js │ ├── on-ad-play.js │ ├── on-before-play.js │ ├── on-full-screen.js │ ├── on-mute.js │ ├── on-play.js │ ├── on-time.js │ └── on-video-load.js ├── default-props.js ├── helpers │ ├── get-curried-on-load.js │ ├── get-event-name-from-prop.js │ ├── get-player-opts.js │ ├── initialize.js │ ├── install-player-script.js │ ├── remove-jw-player-instance.js │ ├── set-jw-player-defaults.js │ └── should-component-update.js ├── player-prop-types.js └── react-jw-player.jsx └── test ├── get-curried-on-load.test.js ├── get-event-name-from-prop.test.js ├── get-player-opts.test.js ├── helpers └── mock-component.js ├── initialize.test.js ├── install-player-script.test.js ├── on-ad-play.test.js ├── on-before-play.test.js ├── on-full-screen.test.js ├── on-mute.test.js ├── on-play.test.js ├── on-time.test.js ├── on-video-load.test.js ├── react-jw-player.browser-test.js ├── react-jw-player.test.jsx ├── remove-jw-player-instance.test.js └── set-jw-player-defaults.test.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /dist/** 2 | /node_modules/** 3 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | 4 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .babelrc 3 | .travis.yml 4 | src 5 | test 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/package.json -------------------------------------------------------------------------------- /src/create-event-handlers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/index.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-ad-play.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-ad-play.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-before-play.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-before-play.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-full-screen.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-full-screen.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-mute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-mute.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-play.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-play.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-time.js -------------------------------------------------------------------------------- /src/create-event-handlers/on-video-load.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/create-event-handlers/on-video-load.js -------------------------------------------------------------------------------- /src/default-props.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/default-props.js -------------------------------------------------------------------------------- /src/helpers/get-curried-on-load.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/get-curried-on-load.js -------------------------------------------------------------------------------- /src/helpers/get-event-name-from-prop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/get-event-name-from-prop.js -------------------------------------------------------------------------------- /src/helpers/get-player-opts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/get-player-opts.js -------------------------------------------------------------------------------- /src/helpers/initialize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/initialize.js -------------------------------------------------------------------------------- /src/helpers/install-player-script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/install-player-script.js -------------------------------------------------------------------------------- /src/helpers/remove-jw-player-instance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/remove-jw-player-instance.js -------------------------------------------------------------------------------- /src/helpers/set-jw-player-defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/set-jw-player-defaults.js -------------------------------------------------------------------------------- /src/helpers/should-component-update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/helpers/should-component-update.js -------------------------------------------------------------------------------- /src/player-prop-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/player-prop-types.js -------------------------------------------------------------------------------- /src/react-jw-player.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/src/react-jw-player.jsx -------------------------------------------------------------------------------- /test/get-curried-on-load.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/get-curried-on-load.test.js -------------------------------------------------------------------------------- /test/get-event-name-from-prop.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/get-event-name-from-prop.test.js -------------------------------------------------------------------------------- /test/get-player-opts.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/get-player-opts.test.js -------------------------------------------------------------------------------- /test/helpers/mock-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/helpers/mock-component.js -------------------------------------------------------------------------------- /test/initialize.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/initialize.test.js -------------------------------------------------------------------------------- /test/install-player-script.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/install-player-script.test.js -------------------------------------------------------------------------------- /test/on-ad-play.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-ad-play.test.js -------------------------------------------------------------------------------- /test/on-before-play.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-before-play.test.js -------------------------------------------------------------------------------- /test/on-full-screen.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-full-screen.test.js -------------------------------------------------------------------------------- /test/on-mute.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-mute.test.js -------------------------------------------------------------------------------- /test/on-play.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-play.test.js -------------------------------------------------------------------------------- /test/on-time.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-time.test.js -------------------------------------------------------------------------------- /test/on-video-load.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/on-video-load.test.js -------------------------------------------------------------------------------- /test/react-jw-player.browser-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/react-jw-player.browser-test.js -------------------------------------------------------------------------------- /test/react-jw-player.test.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/react-jw-player.test.jsx -------------------------------------------------------------------------------- /test/remove-jw-player-instance.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/remove-jw-player-instance.test.js -------------------------------------------------------------------------------- /test/set-jw-player-defaults.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/micnews/react-jw-player/HEAD/test/set-jw-player-defaults.test.js --------------------------------------------------------------------------------