Monday, February 27, 2012

[YouTube-API] invoking getCurrentTime() repeatedly at a high rate

Hi,

I'm using the YouTube Player APIs for <iframe> embeds. In my script, I
have a Javascript timer which invokes player.getCurrentTime()
repeatedly at a high rate, let's say 25 times per second. The value I
get is the same for about 1/4 or 1/5 of a second, but I need to be
more precise. Is it possibile or isn't the HTML 5 window.postMessage
API fast enough?

Thanks a lot,

--
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