[whatwg] What is the purpose of timeupdate?

Simon Pieters simonp at opera.com
Fri Nov 6 14:52:42 PST 2009

On Fri, 06 Nov 2009 18:11:18 +0100, Brian Campbell  
<brian.p.campbell at dartmouth.edu> wrote:

>> Brian, since Firefox is doing what you proposed -- can you think of any  
>> other issues with its current implementation?  What about for audio  
>> files?
> The way Firefox works is fine for me. I haven't yet tested it with audio  
> only, but something around 25 or 30 updates per second would work fine  
> for all use cases that I have; 15 updates per second is about the  
> minimum I'd consider useful for synchronizing one off events like  
> bullets or slide transitions (this is for stuff where you want good,  
> tight sync for stuff with high production values), and while animations  
> would work at that rate, they'd be pretty jerky.

What if you have a video with say one frame per second? Unless I'm  
mistaken Firefox will still fire timeupdate once per frame. (The spec says  
you have to fire at least every 250ms.)

Simon Pieters
Opera Software

More information about the whatwg mailing list