Friday, March 9, 2012

[YouTube-API] Re: iFrame API PAUSED event followed by ENDED event

Thanks for the reply. I've added a simple check that ignores the PAUSED event if the currentTime matches the duration

cheers,
Marc.

On Wednesday, March 7, 2012 2:51:08 PM UTC-5, Jeffrey Posnick wrote:
Hello Marc,

 That seems to be the current behavior on OS X Chrome, yes. I can't
guarantee that it's always been that sequence, though, or that there
will always be a paused event fired in the future. This might also be
dependent on the behavior of the underlying HTML5 <video> element.

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


On Mar 6, 11:28 am, Marc Gagné <marc.ga...@gmail.com> wrote:
> Is the expected behavior that when a video ends (without any user
> interaction) two events are fired; one for T.PlayerState.PAUSED and one
> for YT.PlayerState.ENDED
>
> Marc.

--
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/-/Jfh3HaTjDQIJ.
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