[whatwg] <video> element feedback

Lachlan Hunt lachlan.hunt at lachy.id.au
Tue Mar 20 07:56:49 PDT 2007

Ian Hickson wrote:
> On Sun, 18 Mar 2007, Anne van Kesteren wrote:
>> I just played some more with our internal implementation (Opera's) and 
>> noticed that our pause() really is like togglePause() in the HTML5
> Having pause() always pause is better because it means that you're not 
> likely to end up in state where the UI says one thing but the UA does 
> another (especially when you combine this with UA-provided UI).


> I only included togglePause() because Flash supports it and some people asked for 
> it; I'm not convinced we should keep it.

I'm in favour of dropping it.  It's an unnecessary API for browsers to 
support.  It adds nothing that can't be done with play()/pause() and an 
if statement.

if (video.state == HTMLVideoElement.PAUSED) {
} else {

Lachlan Hunt

More information about the whatwg mailing list