W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

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

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 17 Nov 2008 02:22:25 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0811170221440.1041@hixie.dreamhostps.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC