W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 10 Jul 2009 14:53:24 +1200
Message-ID: <11e306600907091953r2f712b95ucde19725965c5bfb@mail.gmail.com>
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.htm>
Received on Thursday, 9 July 2009 19:53:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC