Tuesday, January 3, 2012

[YouTube-API] loadVideobyId causes buffering state while video is playing, breaks pause/play button

Using the loadVideoById function can cause the player to enter a state
where the latest state is 3 (buffer), but the video is playing. The
pause/play button also does not work. The issue is inconsistent and
seems to occur more frequently as the video quality goes up.

I can reproduce the issue (Firefox 9, Flash debug 11.1) using the
following steps:

1) Goto http://code.google.com/apis/youtube/youtube_player_demo.html?playerType=embedded&playerVersion=as3
- Play the video
2) Using the interface under "Load or Cue a Video" load the video:
cTFFV0gCzLA , selected quality 1080p
3) Load the video: Peawl0l856s
4) Load the video: cTFFV0gCzLA
5) Continue to load these two videos, switching back and forth, until
the loading icon remains on the screen while the video is playing
6) The player is now broken.

It takes me anywhere from 2 to 5 alternations to cause the player to
enter the buffering while playing state.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
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