W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2008

[whatwg] HTMLMediaElement: pixelratio, unsigned int, timeupdate

From: Philip Jägenstedt <philipj@opera.com>
Date: Sun, 02 Nov 2008 11:16:06 +0100
Message-ID: <1225620966.10140.21.camel@nog>
Some assorted questions related to
http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html


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


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


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.

-- 
Philip J?genstedt
Opera Software
Received on Sunday, 2 November 2008 02:16:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:07 UTC