[whatwg] Apple Proposal for Timed Media Elements

Ian Hickson ian at hixie.ch
Fri Oct 12 17:37:55 PDT 2007


On Thu, 22 Mar 2007, Nicholas Shanks wrote:
> 
> Volume has the range 0-100 in the DOM interface, but 0.0-1.0 in CSS. These
> should be consistent (I favour zero to one and allowing percentages).

The spec now uses a float and 0.0 .. 1.0.


> I think that the ERROR state attribute should have a value of -1 not +1 
> since it is a worse state than uninitalised—you know it's bad rather 
> that being unsure (and the state constants be defined as signed rather 
> than unsigned) 
> http://webkit.org/specs/HTML_Timed_Media_Elements.html#state-attributes

The spec doesn't have an ERROR state now, so this is sidestepped somewhat.


> Should the DOM attribute be called mediaStatus or mediaState? I think 
> the terminology should match regardless of whether status or state is 
> used. Should media-play-state be renamed to avoid confusion with values 
> for mediaStatus?

This has been split into networkState and readyState.

HTH,
-- 
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