silvermine / videojs-chromecast

MIT License
148 stars 75 forks source link

chromecast api is always undefined #78

Closed davidboutet closed 4 years ago

davidboutet commented 4 years ago

Everything seem to be loader properly but no button added to the player. ChromecastSessionManager.isChromecastAPIAvailable() always return undefined so it get stuck.

Im on Mac, with chrome 83.0.4103.61

Looks like property: window.chrome.cast is undefined

Am I doing something wrong?

davidboutet commented 4 years ago

My error, I wasnt running file from server.

yucomds commented 3 years ago

You saved my day! I do not know why but this plugin seems to work only on server, not work while developing in localhost. Thanks

wkhira commented 3 years ago

@yucomds Hello, I believe I'm having the same issue. Could you please share how did you manage to solve it?