mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-12-20 10:55:18 -05:00
Initial implementation
This commit is contained in:
parent
f261cc04a2
commit
156e5923c7
14 changed files with 413 additions and 9 deletions
14
src/js/index.js
Normal file
14
src/js/index.js
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue