mirror of
https://github.com/kmoskwiak/videojs-resolution-switcher.git
synced 2025-10-03 17:59:42 +02:00
Merge branch 'H1D-patch-1'
This commit is contained in:
commit
83d268d652
1 changed files with 173 additions and 163 deletions
|
@ -2,6 +2,15 @@
|
||||||
* Copyright (c) 2015 Kasper Moskwiak
|
* Copyright (c) 2015 Kasper Moskwiak
|
||||||
* Modified by Pierre Kraft
|
* Modified by Pierre Kraft
|
||||||
* Licensed under the Apache-2.0 license. */
|
* Licensed under the Apache-2.0 license. */
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var videojs = null;
|
||||||
|
if(typeof window.videojs === 'undefined' && typeof require === 'function') {
|
||||||
|
videojs = require('videojs');
|
||||||
|
} else {
|
||||||
|
videojs = window.videojs;
|
||||||
|
}
|
||||||
|
|
||||||
(function(window, videojs) {
|
(function(window, videojs) {
|
||||||
/* jshint eqnull: true*/
|
/* jshint eqnull: true*/
|
||||||
'use strict';
|
'use strict';
|
||||||
|
@ -222,4 +231,5 @@
|
||||||
|
|
||||||
// register the plugin
|
// register the plugin
|
||||||
videojs.plugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher);
|
videojs.plugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher);
|
||||||
})(window, window.videojs);
|
})(window, videojs);
|
||||||
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue