[whatwg] Serving up Theora <video> in the real world

Robert O'Callahan robert at ocallahan.org
Sun Jul 12 15:00:20 PDT 2009


On Sun, Jul 12, 2009 at 10:34 AM, Philip Jägenstedt <philipj at opera.com>wrote:

> Not that I except this discussion to go anywhere, but out of curiosity I
> checked how Firefox/Safari/Chrome actually implement canPlayType:
>
> http://wiki.whatwg.org/wiki/Video_type_parameters#Browser_Support
>
> Firefox is conservative and honest (except maybe for "audio/wav; codecs=0",
> what could you do with the RIFF DATA chunk?)


Wave codec 0 means "unknown codec", so we return "maybe", but we should
actually return "no" since in practice we refuse to play a file with 0 in
the format field. We'll fix that.

Safari gets maybe/probably backwards compared to what the spec suggests.
> Chrome seems to ignore the codecs parameter, claiming "probably" even for
> bogus codecs. Authors obviously can't trust the distinction between "maybe"
> and "probably" to any extent.
>

Please file bugs against those browsers --- especially Chrome, since they
haven't shipped video support yet.

It's not hard to implement this right, these issues reflect sloppy
development more than a fundamental problem IMHO.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090713/6b0e5d87/attachment-0002.htm>


More information about the whatwg mailing list