[whatwg] Video Element Events? - Use Case: Custom Progress Bar

On Sun, 16 Nov 2008, Jonas Sicking wrote:
> 
> I think one problem is that a timer can be set to fire much less often 
> than the current time changes.
> 
> For example the UI doesn't need to be updated more than maybe twice a 
> second for most videos (since it won't move more than one pixel in that 
> time), whereas the timerupdate event sounds like it should fire with the 
> framerate of the video, somewhere around 25-30 times per second.

The spec allows the event to be fired at any rate from 4Hz to 66Hz at the 
moment. I can adjust that range based on implementation experience if that 
would help.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Sunday, 16 November 2008 18:22:25 UTC