Tuesday, March 13, 2012

[YouTube-API] Re: "This video is no longer available" leaves embedded player unusable

I see. Thank you Jeff.

On Tuesday, March 13, 2012 5:30:28 PM UTC+2, Jeffrey Posnick wrote:
Hello Marius,

 The expected behavior is that he onError handler gets fired, and
that's what actually happens in the test that I just ran. The 'data'
property of the parameter passed to the onError handler is set to 100.
This is how the API indicates playback errors and you could listen for
that event and react accordingly.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Mar 10, 3:05 am, marius <marius.andrei...@gmail.com> wrote:
> Hello,
>
> When loading (loadVideoById) a video which is no longer available using the
> IFRAME embedded version, it leaves the player in an unusable state (-1,
> controls are gone). Expected: return ENDED state, and be able to load
> another video.
>
> Sample video id:http://www.youtube.com/watch?v=Ogpmw20yOSg
>
> Note this happens with HTML5 player. I'm not sure, but I think with Flash
> player it just moved on as expected.
>
> Thanks

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/VHb5_Y98fGgJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment