W3C home > Mailing lists > Public > public-html@w3.org > January 2010

Re: Should <video> buffer control be tri-state?

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Fri, 8 Jan 2010 21:49:47 +1100
Message-ID: <2c0e02831001080249q144b0123q22c7ad9464c7bfce@mail.gmail.com>
To: Philip Jägenstedt <philipj@opera.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Jeremy Keith <jeremy@adactio.com>, HTMLwg WG <public-html@w3.org>
On Fri, Jan 8, 2010 at 8:54 PM, Philip Jägenstedt <philipj@opera.com> wrote:
> On Fri, 08 Jan 2010 09:05:51 +0100, Julian Reschke <julian.reschke@gmx.de>
> wrote:
>> Philip Jägenstedt wrote:
>>> ...
>>> To get the first frame and duration for Ogg Theora, you must make at
>>> least 2 HTTP requests to get the beginning and end of the file (unless the
>>> X-Content-Duration header is used, in which case 1 would suffice). ...
>> Out of curiosity, exactly what HTTP requests are these?
> Two GET with Range: bytes=x-y should do if you can guess the amount of data
> needed at the beginning at end well enough and if the total size of the
> resource is returned with the first request (I don't know if that's
> typically the case or not).

The Ogg file header right now doesn't contain information on the
duration of the resource, but the reply to the byte range request does
return the length of the resource in bytes. If the server supports it,
a HTTP X-Content-Duration header provides the duration of the

Received on Friday, 8 January 2010 10:50:40 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:56 UTC