videojs-resolution-switcher icon indicating copy to clipboard operation
videojs-resolution-switcher copied to clipboard

Check for videojs.default then fallback to videojs when videojs is not global

Open endyquang opened this issue 6 years ago • 1 comments

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.

endyquang avatar Sep 27 '18 03:09 endyquang

We were facing the same issue, using webpack, and the changes from @endyquang fixed it for us too.

sam-albon-li avatar Mar 28 '19 21:03 sam-albon-li