This is an updated version from the master branch, which used requirejs, to a (basic) Webpack2 implementation
Before you start, this project assumes a few things regarding the JWPlayer-side of things:
- You have a JWPlayer account and are somewhat familiar with their Javascript API
- You have created a playlist and know how to grab the JSON feed for that playlist
- Know where to grab the JW Player 7 (Self-Hosted) package
- I am including my player license key at the very bottom of the jwplayer.js file:
jwplayer.key="{your license key here}"
-
npm install
-
webpack
-
webpack-dev-server
-
(optional)
webpack --watch
Note 1:
When served locally, sometimes a 403 error on video file URLs at the following JWPLayer URL occurs periodically:
http://videos-f.jwpsrv.com/content/conversions/{VideoFileIDs}
However, when deployed to an S3 bucket to be served statically, this error no longer occurs and everything works.
Screen shot:
Screen shot (responsive):