On Fri, Jul 10, 2009 at 2:46 PM, Gregory Maxwell <span dir="ltr"><<a href="mailto:gmaxwell@gmail.com">gmaxwell@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On Thu, Jul 9, 2009 at 10:35 PM, Robert O'Callahan<<a href="mailto:robert@ocallahan.org">robert@ocallahan.org</a>> wrote:<br>
> var v = document.getElementById("video");<br>
> if (v.canPlayType && v.canPlayType("video/ogg; codecs=vorbis,theora")) {<br>
>   ...<br>
> } else {<br>
>   ...<br>
> }<br>
><br>
> should work great. Certainly does in Firefox.<br>
<br>
</div>It works. Except where it doesn't. It's the "where it doesn't" that<br>
counts. At the moment Safari has issues. Out of two widely used<br>
production browsers with HTML5 support, one is broken. Not good odds,<br>
but I'm hopeful for the future.</blockquote><div><br>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.<br>
<br></div></div>Rob<br>-- <br>"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]<br>