Tuesday, February 28, 2012

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

Hello,

It's certainly possible that the internal mechanism that updates the
current time is firing less frequently than you're polling, yes. I'm
sorry, but we don't advertise support for arbitrary sub-second
precision.

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


On Feb 27, 10:09 am, cyberziz <alessandro.zo...@gmail.com> wrote:
> 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