[whatwg] Video with MIME type application/octet-stream
simonp at opera.com
Thu May 20 03:46:16 PDT 2010
On Thu, 20 May 2010 12:36:36 +0200, Simon Pieters <simonp at opera.com> wrote:
> On Thu, 20 May 2010 11:55:01 +0200, Robert O'Callahan
> <robert at ocallahan.org> wrote:
>> I just became aware that application/octet-stream is excluded from
>> being a
>> type "the user agent knows it cannot render".
>> Apparently this was done in response to a bug report:
>> Neither the bug report nor the editor's response give any indication why
>> this change was made.
> This bug report was about application/octet-stream *with parameters*,
> e.g. application/octet-stream; codecs="theora, vorbis". The spec had the
> requirement about application/octet-stream before that bug report.
>> This change means files served with application/octet-stream will make
>> all the way to the step "If the media
>> be fetched but is found by inspection to be in an unsupported format
>> ...", so implementations have to add support for binary sniffing for
>> all the
>> types they support. We didn't need this before in Gecko. What was the
>> motivation for adding this implementation requirement?
The spec requires binary sniffing for all the types you support even
without the application/octet-stream requirement, since a WebM file
labelled as video/ogg should play if both video/webm and video/ogg are
More information about the whatwg