[whatwg] [mimesniff] Audio and video sniffing
simonp at opera.com
Mon Nov 26 21:51:03 PST 2012
On Mon, 26 Nov 2012 23:38:02 +0100, Gordon P. Hemsley
<gphemsley at 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.
More information about the whatwg