Closed GoogleCodeExporter closed 9 years ago
How are you loading cast_sender.js? You can try doing this
<script type="text/javascript"
src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
Original comment by vadi...@google.com
on 12 Dec 2014 at 11:33
I'm using the exact same code from
https://github.com/googlecast/CastHelloText-chrome, which uses what you are
suggesting. The only change I make is to use my own app id.
Original comment by ionpu...@gmail.com
on 13 Dec 2014 at 8:44
Since you say that you see this output on your Chromecast:
XMLHttpRequest cannot load
chrome-extension://boadgeojelhgndaghljhdicfkmllpafd/cast_sender.js. Cross
origin requests are only supported for HTTP. chromehellotext.html:1
it tells me that your receiver app is pointing to a sender URL instead of a
receiver. Please go to the Cast SDK developer console and make sure that the
Receiver URL is pointing to a receiver application for your app id.
Original comment by vadi...@google.com
on 15 Dec 2014 at 5:38
Thanks - that was it. I didn't read the fine print, nor did I understand all
the differences between the receiver and sender apps with regard to the
samples. I was trying to set up the sender app as both the receiver and the
sender.
Thanks for decoding that error message for me :)
Original comment by ionpu...@gmail.com
on 16 Dec 2014 at 4:41
Feel free to close this :)
Original comment by ionpu...@gmail.com
on 16 Dec 2014 at 4:43
Original comment by and...@google.com
on 16 Dec 2014 at 4:19
Original issue reported on code.google.com by
ionpu...@gmail.com
on 12 Dec 2014 at 3:59