Merge branch 'H1D-patch-1'

This commit is contained in:
Kasper Moskwiak 2015-10-28 15:59:12 +01:00
commit 83d268d652

View file

@ -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);
})();