[whatwg] <video> application/octet-stream

Philip Jägenstedt philipj at opera.com
Wed Jul 21 06:53:49 PDT 2010


On Wed, 21 Jul 2010 15:51:40 +0200, Mike Shaver <mike.shaver at gmail.com>  
wrote:

> On Wed, Jul 21, 2010 at 9:46 AM, Chris Double  
> <chris.double at double.co.nz> wrote:
>> How much data are you willing to sniff to find out if the Ogg file
>> contains Theora and/or Vorbis? You have to read the header packets
>> contained within the Ogg file to get this.
>
> A few kilobytes certainly seems reasonable -- I don't think we can
> actually do anything with the video until we've made that
> determination, so I'm actually quite sure what's being asked.  Can you
> describe a scenario where Firefox would have a reliable MIME type, but
> isn't retrieving the first chunk of the video anyway?  Do browsers use
> HEAD to check for video compatibility today?

Opera does not, that would lead to an extra network roundtrip. Instead,  
when the MIME type is not one of the allowed ones, the connection is  
closed immediately.

-- 
Philip Jägenstedt
Core Developer
Opera Software


More information about the whatwg mailing list