Initial implementation

This commit is contained in:
Ethan Smith 2017-06-22 09:34:19 -04:00
parent f261cc04a2
commit 156e5923c7
14 changed files with 413 additions and 9 deletions

14
src/js/index.js Normal file
View file

@ -0,0 +1,14 @@
'use strict';
var events = require('./events'),
qualitySelectorFactory = require('./components/QualitySelector'),
sourceInterceptorFactory = require('./middleware/SourceInterceptor');
module.exports = function(videojs) {
videojs = videojs || window.videojs;
qualitySelectorFactory(videojs);
sourceInterceptorFactory(videojs);
};
module.exports.EVENTS = events;