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

Weird errorCode 0 when playing video #30

Open
javichito opened this issue Mar 21, 2013 · 1 comment
Open

Weird errorCode 0 when playing video #30

javichito opened this issue Mar 21, 2013 · 1 comment

Comments

@javichito
Copy link

I have experienced some weird errorCode when trying to play the following video:

http://www.youtube.com/watch?feature=player_embedded&v=RXcMBGxa_Lo

It retrieves errorCode 0, but theres is no errorCode 0 on the official documentation https://developers.google.com/youtube/js_api_reference?hl=en

Of course i could find my way out to get the proper event fired just adding a "case 0:" on top of "case 101:" inside the switch statement in the 'onError' function.

What would be happening? Could you replicate this error?

@akamensky
Copy link
Contributor

I believe this isn't this plugin error. Error codes are received from YouTube, and it is perhaps issue on their side.

I have seen error code 0 for many different errors (the text that you can see in embedded player when error happens).

As workaround there was a patch made to allow handling unknown error codes. Please look at Issue #31

I believe with this patch accepted this issue can be closed.

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