jQuery-TubePlayer-Plugin icon indicating copy to clipboard operation
jQuery-TubePlayer-Plugin copied to clipboard

Weird errorCode 0 when playing video

Open javichito opened this issue 12 years ago • 1 comments

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?

javichito avatar Mar 21 '13 22:03 javichito

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.

akamensky avatar Mar 28 '13 03:03 akamensky