videojs-resolution-switcher
videojs-resolution-switcher copied to clipboard
Check for videojs.default then fallback to videojs when videojs is not global
I ran into an issue when trying to import this package, it said that videojs.getComponent is not a function. Then i found out where this issue came from and make a minor fix for it. So hope you could merge this soon.
We were facing the same issue, using webpack, and the changes from @endyquang fixed it for us too.