Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Support #14

Closed
sastani opened this issue Nov 2, 2016 · 3 comments
Closed

YouTube Support #14

sastani opened this issue Nov 2, 2016 · 3 comments

Comments

@sastani
Copy link

sastani commented Nov 2, 2016

is this supposed to work with all rokus? didn't work with roku express

@pranav-prakash
Copy link
Owner

Yeah it should — What's the video you're trying to cast? What happens when you try to do so?

@sastani
Copy link
Author

sastani commented Nov 2, 2016

rokucast
When I hover over the cast icon in the extension, and click on it, nothing happens...

@pranav-prakash
Copy link
Owner

pranav-prakash commented Nov 2, 2016

Ah, YouTube is one site that doesn't work well with this extension. I should probably update the readme with this.

See
#8
#11

for more detailed technical information if you wish but the gist of it is that

Google changed the playback method so that it no longer directly accesses the mp4 in the video element — rather, it now plays it one chuck at a time from a segment of the video stored locally in memory, and the video element points to a MediaSource object instead of an mp4.

One workaround is to use a user agent switcher like so:

Youtube to Roku Player, I recommend you use the extension User-Agent Switcher for Chrome. In Options => Permanent Spoof List => adds Youtube.com as a domain and iPhone 6 as user agent string

But this adds a bit of inconvenience since it will be formatted for mobile. Alternatively, YouTube has its own cast functionality where you just need to install the corresponding YouTube app on the roku player.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants