lihaosky / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

this.Sn.contentWindow null so unable to get device list while making requestSession. #513

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Rendering my player inside iframe.
2. After chrome cast initialization.
3. Making session request on click of cast icon in my player.

Error  - 

TypeError: Cannot read property 'postMessage' of null {stack: (...), message: 
"Cannot read property 'postMessage' of null"}message: "Cannot read property 
'postMessage' of null"stack: (...)get stack: function () { [native code] }set 
stack: function () { [native code] }__proto__: Error

cast_sender.js line no 5768

Please help me to fix this.

Original issue reported on code.google.com by sandeep....@livestream.com on 27 Feb 2015 at 7:52

GoogleCodeExporter commented 9 years ago
Coding and development questions are better suited for Stack Overflow or the 
Google Cast developers community.  If you can verify that this is an issue with 
the SDK, let us know and we can reopen the ticket.

Original comment by jonathan...@google.com on 27 Feb 2015 at 8:54