W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

Re: [whatwg] [mimesniff] Audio and video sniffing

From: Simon Pieters <simonp@opera.com>
Date: Tue, 27 Nov 2012 06:51:03 +0100
To: "whatwg List" <whatwg@whatwg.org>, "Gordon P. Hemsley" <gphemsley@gmail.com>
Message-ID: <op.woe3vdpzidj3kv@device-56497e>
On Mon, 26 Nov 2012 23:38:02 +0100, Gordon P. Hemsley  
<gphemsley@gmail.com> wrote:

> Upon looking through the code for Gecko's media sniffing, I noticed
> that they seem to combine sniffing for audio and video elements. Given
> that Opera has said that it uses the specific sniffing algorithms, and
> that some media containers (like Ogg) can be used for either audio or
> video, I wonder if it would make sense to combine audio and video
> sniffing under a single audiovisual category? This would affect the
> "matching audio/video type pattern" sections and the "sniffing
> audio/video specifically" sections.
> Any objections? Other thoughts?

Yes, I think it makes sense to have the same sniffing for both. <audio> is  
like <video> without the rendering area.

Simon Pieters
Opera Software
Received on Tuesday, 27 November 2012 05:52:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:48 UTC