[Bug 10202] use of "codecs" parameter

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10202

--- Comment #22 from Julian Reschke <julian.reschke@gmx.de> 2010-10-13 09:41:29 UTC ---
(In reply to comment #21)
> (In reply to comment #20)
> > In which case it would be great if the spec clarified that "codecs" is indeed
> > not defined on application/octet-stream.
> 
> Sure, if it also says exactly what should happened with parameters which are
> not defined. Existing implementations ignore unknown parameters, so
> canPlayType('video/ogg;bla=bla') returns 'maybe' in at least Firefox and Opera.
> Along this line, we could let canPlayType('application/octet-stream;
> codecs=bla') return whatever canPlayType('application/octet-stream') returns.

Which sort-of confirms that the spec is confusing.

In general, ignoring unknown parameters is the right thing to do.

If HTML5 wants UAs to treat a bare "application/octet-stream" in a specific
way, it probably needs to be phrased differently.

Optimally, "application/octet-stream" would never be treated as video.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 13 October 2010 09:41:31 UTC