From b49d5bb4116f20fd9082fa96d179fc6c88175a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20N=C3=BA=C3=B1ez?= Date: Tue, 30 Jan 2018 11:39:42 +0100 Subject: [PATCH] Fix issue 109 - plugin() deprecated on videojs plugin --- lib/videojs-resolution-switcher.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index eae1c38..6f4aa98 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -362,6 +362,6 @@ }; // register the plugin - videojs.plugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher); + videojs.registerPlugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher); })(window, videojs); })();