Demo project to illustrate idea of creating JS video player that can play various video formats (MPEG-DASH, Smooth Streaming, MP4 etc.) with a single interface. Created to support article Making web browser play streaming video (such as MPEG-DASH, Smooth Streaming, HLS) with one player..
Ready to use built sample project is located in /www
folder.
Source code is in /src
folder.
Project uses ES6 compiled with Babel and packaged with Webpack. Dependencies are managed with Bower with grunt-bower-task.
-
Install Core Dependencies
- install nodejs
- install grunt
npm install -g grunt-cli
-
Build on command line:
npm run build
-
While making changes run. It will start webpack in
--watch
modenpm run dev