silvermine / videojs-chromecast

MIT License
147 stars 74 forks source link

Silvermine plugin crashes with latest version on video.js ^8.0.4 #154

Closed OriaLogic closed 1 year ago

OriaLogic commented 1 year ago

Hi,

When adding the plugin to the latest version of video.js (^8.0.4), I am having this issue in the console : videojs.extend is not a function

This error happens when I initialize the plugin :

require('@silvermine/videojs-chromecast')(videojs, {
    preloadWebComponents: true,
  });

Does it ring a bell ? Lucas

kontrollanten commented 1 year ago

Hi! This will be solved by #151

yokuze commented 1 year ago

@OriaLogic @kontrollanten Please try v1.4.1, which removes usage of the deprecated .extends method. We can re-open this issue if the problem isn't fixed with that version.