[whatwg] <video> element proposal

Ian Hickson ian at hixie.ch
Sat Mar 17 12:17:23 PDT 2007


I'm refereeing at the Silicon Valley regionals of the FIRST Robotics 
Challenge, so I'm not able to respond to the thread and fix the spec 
appropriately yet (though I'll get right on that next week), but I just 
wanted to correct a minor error in this mail:

On Sat, 17 Mar 2007, Bjoern Hoehrmann wrote:
> 
>   +----------------+-----------------+-----------------+---------------+
>   | SMIL           | SVG             | IE              | "WHATWG"      |
>   +----------------+-----------------+-----------------+---------------+
>     beginElement() | beginElement()  | beginElement()  | play()
>     endElement()   | endElement()    | endElement()    | stop()
>     -              | pauseElement()  | pauseElement()  | pause()
>     -              | resumeElement() | resumeElement() | togglePause()
>     -              | isPaused        | isPaused        | state == PAUSED

resumeElement() is like play(), not like togglePause().


>   +----------------------------------+---------------------------------+
>   | Flash/ActionScript               | "WHATWG"                        |
>   +----------------------------------+---------------------------------+
>     pause()                          | togglePause()
>     pause(true)                      | pause()
>     pause(false)                     | togglePause()

These are also wrong. They should be:

      pause()                            togglePause()
      pause(true)                        pause()
      pause(false)                       play()

There are (good?) reasons for the differences; I looked at the Flash API 
very closely. I'll reply in more detail next week.

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



More information about the whatwg mailing list