Update plugin() to registerPlugin()

This commit is contained in:
DaWe 2019-08-28 14:12:12 +02:00 committed by GitHub
parent 85f1e51c8b
commit 9e58a86a99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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