mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-06-30 16:27:06 -04:00
14 lines
382 B
JavaScript
14 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;
|