W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] HTMLMediaElement timeupdate when starting new load

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 24 Aug 2010 01:17:30 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1008240037250.1138@ps20323.dreamhostps.com>
On Fri, 23 Jul 2010, Chris Pearce wrote:
> In the media element load algorithm, step 4 resets the current playback 
> position to 0 if the media element has a previously or partially loaded 
> resource. I think we should send a "timeupdate" event if this causes the 
> current playback position to change. This is makes it easier for 
> controls UI to keep their playback positions up-to-date with the actual 
> playback position, and it makes sense to send a timeupdate event since 
> we are changing the current time.
> You could argue that sending a timeupdate event in step 4 of the load 
> algorithm is implied by changing the current playback position, but the 
> spec is explicit everywhere else that we send timeupdate events, so it 
> would be nice to be explicit here too.


Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 23 August 2010 18:17:30 UTC

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