[whatwg] media elements: Relative seeking
Ian Hickson
ian at hixie.ch
Mon Dec 1 18:06:09 PST 2008
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list