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

Robert O'Callahan robert at ocallahan.org
Thu Jul 9 19:53:24 PDT 2009


On Fri, Jul 10, 2009 at 2:46 PM, Gregory Maxwell <gmaxwell at gmail.com> wrote:

> On Thu, Jul 9, 2009 at 10:35 PM, Robert O'Callahan<robert at ocallahan.org>
> wrote:
> > var v = document.getElementById("video");
> > if (v.canPlayType && v.canPlayType("video/ogg; codecs=vorbis,theora")) {
> >   ...
> > } else {
> >   ...
> > }
> >
> > should work great. Certainly does in Firefox.
>
> It works. Except where it doesn't. It's the "where it doesn't" that
> counts. At the moment Safari has issues. Out of two widely used
> production browsers with HTML5 support, one is broken. Not good odds,
> but I'm hopeful for the future.


It's unfortunate that Safari is broken out of the gate, but realistically
hardly anyone is going to be using XiphQT right now. Hopefully Apple will
have fixed the bug before too long.

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/e5f1c66c/attachment-0002.htm>


More information about the whatwg mailing list