Fix issue 109 - plugin() deprecated on videojs plugin

This commit is contained in:
Javi Núñez 2018-01-30 11:39:42 +01:00
parent 85f1e51c8b
commit b49d5bb411

View file

@ -362,6 +362,6 @@
}; };
// register the plugin // register the plugin
videojs.plugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher); videojs.registerPlugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher);
})(window, videojs); })(window, videojs);
})(); })();