[whatwg] Video with MIME type application/octet-stream

Philip Jägenstedt philipj at opera.com
Thu Sep 9 00:24:00 PDT 2010


On Thu, 09 Sep 2010 02:15:27 +0200, David Singer <singer at apple.com> wrote:

>> On Wed, Sep 8, 2010 at 3:13 PM, And Clover <and-py at doxdesk.com> wrote:
>>> Perhaps I *meant* to serve a non-video
>>> file with something that looks a fingerprint from a video format at  
>>> the top.
>>
>> Anything's possible, but it's vastly more likely that you just made a  
>> mistake.
>
> It may be possible to make one file that is valid under two formats.   
> Kinda like those old competitions "write a single file that when  
> compiled and run through as many languages as possible prints "hello,  
> world!" :-).

For at least WAVE, Ogg and WebM it's not possible as they begin with  
different magic bytes.

-- 
Philip Jägenstedt
Core Developer
Opera Software



More information about the whatwg mailing list