Closed ehzhang closed 10 years ago
Thanks for adding support for this! Traveling at the moment, but will take a look Wednesday/Thursday
+1
+1
Great stuff! Sorry about the delay, wanted to pull it down and run through the examples; has been a while since I worked on this.
Sometimes the window['__onGCastApiAvailable'] callback is fired before castaway has a chance to initialize.
The chrome sender docs suggest having a timeout to address the loading of the API. https://developers.google.com/cast/docs/chrome_sender
Polling for initialization guarantees that the initialization occurs.