This is an open-source HTML5 video player that allows users to zoom in with greater detail and pan around the video with bandwith efficiency. The Javascript-based zoomable video player streams dash-compliant videos and adapts to network conditions to provide continuous video playback by reducing the video resolutions where necessary.
To build the image:
$ docker build -t <your-username>/<repository-name> .
Then run the built image:
$ docker run -it -p 1337:1337 --entrypoint='bash' <your-username>/<repository-name>
- Node.js
- Sails.js
- FFMPEG - For video conversion, thumnbnail generation
- MP4Box - For MPD creation for the videos
Run the npm and bower install commands to install the packages that the project requires.
For bash:
$ npm install -g bower grunt-cli
$ npm install
$ bower install
Make the video-processing script executable.
$ cd scripts
$ chmod +x video-processing.sh
Start the server by running the Sails command:
$ sails lift
If this server is setup locally, open your browser and enter the url: http://localhost:1337 to visit the main webpage of the project.
Start the server in production by running the following command:
$ node app.js --prod
Detailed settings can be found in the development guide
Mocha and PhantomJS are used for frontend and backend testing.
To run the full test suites:
$ grunt test
Detailed documentation can be found in the development guide
Copyright (c) 2016 Team Meteoria. Licensed under the MIT license.