phawind111 / google-cast-sdk

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

Queueing not supported in Chrome browser on IOS? #726

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using constructors like QueueItem() and QueueLoadRequest() works fine in Chrome 
on a pc but in Chrome on IOS they are undefined.

I'm using Chrome version 47.2526.107 on IOS 9.2 (13C75)

Any change queuing wil be supported in the near future?

Original issue reported on code.google.com by roel...@gmail.com on 30 Dec 2015 at 1:28

GoogleCodeExporter commented 8 years ago
Could you please share console logs after reproducing this error with Chrome on 
iOS? Also, please clarify the question: "Any change queuing wil be supported in 
the near future?" 

Original comment by na...@google.com on 30 Dec 2015 at 10:07

GoogleCodeExporter commented 8 years ago
hi,

I asked the question about support in the near future because, based on my
issue, I assumed it is not supported in IOS yet.

When you ask for console logs, do you mean IOS system logs? I don't have
Chrome console logs because the issue only occurs on IOS.

The most simple way I can reproduce my problem is taking the sample
app CastHelloVideo-chrome from GitHub and replace the line

var request = new chrome.cast.media.LoadRequest(mediaInfo);

with

var queue = new Array(1);
queue[0] = new chrome.cast.media.QueueItem(mediaInfo);
var request = new chrome.cast.media.QueueLoadRequest(queue);

After this change the app still works fine under Chrome on Windows but it
doesn't load the media on IOS.
When I catch the error I get:

*undefined is not a constructor (evaluating 'new
chrome.cast.media.QueueItem(mediaInfo)')*

Thank you for looking into this.

Roel

Original comment by roel...@gmail.com on 31 Dec 2015 at 12:47