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

On Fri, Jul 10, 2009 at 4:40 PM, Ralph Giles <giles at xiph.org> wrote:

> To recap (off the top of my head): it's hard to say if you can play
> something because that requires either a validator, or actually
> playing it, So in addition to 'yes' and 'no', a 'maybe' was added, to
> say "I've heard of the media type and codecs and profiles, so it's
> worth trying; no promises."


The way we've implemented in Firefox, we'll return "yes" if you specify a
codecs parameter and we support every codec in your list. So
v.canPlayType("video/ogg; codecs=vorbis,theora") returns "probably" in
Firefox 3.5. I think this is reasonable because I believe that, modulo bugs
in our implementation, we support the full Theora and Vorbis specs. On the
other hand, we will return "maybe" for v.canPlayType("video/ogg"). I think
this distinction will be useful.

I know it's trickier for H.264 where there are many profiles, but IIRC the
codecs parameter is flexible enough to encode profile levels as well.

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/20090710/01aa8709/attachment.htm>

Received on Thursday, 9 July 2009 21:57:55 UTC