diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index eae1c38..ea8aae1 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -363,5 +363,5 @@ // register the plugin videojs.plugin('videoJsResolutionSwitcher', videoJsResolutionSwitcher); - })(window, videojs); + })(window, videojs.default || videojs); })();