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

[whatwg] media elements: Relative seeking

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 2 Dec 2008 02:06:09 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0812020204380.17401@hixie.dreamhostps.com>
On Tue, 2 Dec 2008, Chris Double wrote:
> On Mon, Dec 1, 2008 at 11:28 PM, Ian Hickson <ian at hixie.ch> wrote:
> >> For the few servers that don't support seeking, duration is not 
> >> available.
> >
> > Note that that is non-conforming at the moment. You have to have a 
> > duration available (though it can be +Infinity if you think that the 
> > resource is a stream, and can be an estimate, so long as you keep 
> > updating it as your information gets better.)
> 
> I think the spec should be changed to allow duration to be NaN in the 
> case where it cannot be determined.

We removed some other features (e.g. bufferedBytes and totalBytes) because 
implementors said they would always provide accurate values in the 
buffered and duration attributes. If we allow duration to be NaN, then 
we'd have to re-add the other features again.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 1 December 2008 18:06:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC