[whatwg] HTMLMediaElement: pixelratio, unsigned int, timeupdate

Ian Hickson ian at hixie.ch
Sun Nov 16 17:11:58 PST 2008


On Sun, 2 Nov 2008, Philip Jägenstedt wrote:
>
> http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#dom-source-pixelratio 
> How should a pixelratio <= 0.0 be treated? I would suggest that the DOM 
> attribute actually return the negative value but that it is explicitly 
> ignored in step 5 of 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#pick-a-media-resource

Done.


> What should be done if a reflected unsigned integer DOM attribute is set 
> to a negative number? INDEX_SIZE_ERR, ignored or something else? I'm 
> quite sure it's well defined, just not in 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#reflect

This is a WebIDL issue.


> In the section about cue ranges (can't seem to find an #anchor nearby): 
> "If the time was reached through the usual monotonic increase of the 
> current playback position during normal playback, the user agent must 
> then queue a task to fire a simple event called timeupdate at the 
> element."
> 
> How often should the timeupdate event be fired? Without a requirement 
> for this, anything from every ms to never would seem to be acceptable. I 
> agree with Eric Carlson and Jonas Sickling that this event isn't 
> particularly useful and would rather see it removed from the spec.

See my mail earlier today for arguments for keeping the event; I've 
clarified the timing though.

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