From 9e58a86a99981ad44ca3576b9d0562a1ce318dc1 Mon Sep 17 00:00:00 2001 From: DaWe Date: Wed, 28 Aug 2019 14:12:12 +0200 Subject: [PATCH] Update plugin() to registerPlugin() --- 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); })();