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

Fallback if youtube cannot be accessed #699

Open
JauernigIT opened this issue Oct 27, 2017 · 1 comment
Open

Fallback if youtube cannot be accessed #699

JauernigIT opened this issue Oct 27, 2017 · 1 comment
Labels
Milestone

Comments

@JauernigIT
Copy link

We have to support video playback both from behind a corporate proxy and from "normal" internet. For the corporate network scenario, many clients don't have YouTube access, so they would not be able to see videos from this (preferred) source. In Chrome console, this error occurs: GET https://www.youtube.com/iframe_api net::ERR_TUNNEL_CONNECTION_FAILED

Hence, we have to implement a fallback mechanism: when YouTube is not accessible, use an MP4 video file from AWS (static URL). We searched for a solution in plyr, but have not been successful so far. We've seen the error event, but this is not fired in our case. We also investigated the other events, but with no success so far.

Is there a viable solution in plyr or do we have to implement the availability check on our own?

@micr0lab
Copy link

This would be great to see this feature implemented, indeed.

@JauernigIT : I'm not sure I would strongly recommend this tool, but I believe http://afterglowplayer.com/ allows to have this "fall back if youtube isn't reachable".

@friday friday added the Feature label May 30, 2018
@friday friday added this to the Undecided milestone Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants