You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm serving from localhost on Chromebook (using browsersync to serve). I get this error in Chrome
Uncaught ReferenceError: cast is not defined
at CastPlayer.initializeCastPlayer (CastVideos.js:180)
at window.__onGCastApiAvailable (CastVideos.js:1645)
at chrome.cast.fa (cast_sender.js:97)
I put a debugger before castPlayer.initializeCastPlayer(); in the handler for __onGCastApiAvailable. This shows that - most of the time - the cast object is not defined even though the callback is called with isAvailable as true. See screenshot - (the watch area shows the undefined cast object). If I refresh repeatedly, cast is occasionally defined.
The text was updated successfully, but these errors were encountered:
I'm serving from localhost on Chromebook (using browsersync to serve). I get this error in Chrome
I put a
debugger
beforecastPlayer.initializeCastPlayer();
in the handler for__onGCastApiAvailable
. This shows that - most of the time - thecast
object is not defined even though the callback is called withisAvailable
as true. See screenshot - (the watch area shows the undefined cast object). If I refresh repeatedly,cast
is occasionally defined.The text was updated successfully, but these errors were encountered: