stompscreen
v0.0.10
Published
A video player by Stompdrop
Downloads
4
Readme
Stompscreen
A video player by Stompdrop
Install it
$ npm install stompscreen --save
Use it
var Stompscreen = require('stompscreen');
var screen = Stompscreen.init({
el: document.querySelector('video'),
src: 'my/video/source.mp4',
autoplay: false,
width: 720
});
Development
Install dependencies:
$ npm install
Run the tests:
$ npm test
Run the dev server.
node_modules/gulp/bin.gulp.js connect
You'll also need to add a video file to serve up during local development. Change the path in example-1.html.