15 lines
382 B
JavaScript
15 lines
382 B
JavaScript
'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;
|