[whatwg] Video proposals

Matthew Raymond mattraymond at earthlink.net
Fri Mar 16 04:01:24 PDT 2007


Benjamin West wrote:
> On 3/15/07, Ian Hickson <ian at hixie.ch> wrote:
>>> .loop, .startpos
>>> loop = false | true
>>> autostart = true | false
>>> startpos = 0 | specified pos
>>
>> Could you elaborate on the use cases for these?
>
> Can't these be done in script?

   Those attributes are basic values you'd want to use to initialize the
video. For those that don't know Javascript very well and just want a
video to play a certain way right away, it would be a real pain to only
have access to these properties via scripting. Besides, I can't see the
author wanting to set |autostart| and |startpos| dynamically, as they
are clearly intended to be used when the page is loading. (The |loop|
attribute might be set dynamically, but I can see situations where one
would want the video to play in the background in a continuous loop from
the moment the page is loaded. Granted, most of those uses are
presentational.)



More information about the whatwg mailing list