[whatwg] Scripted querying of <video> capabilities

Robert O'Callahan robert at ocallahan.org
Wed Aug 6 19:59:06 PDT 2008


That would be nice to have. Unfortunately DirectShow and Quicktime do not
seem to expose the ability to enumerate supported codecs, so it might be
hard to implement for some browsers.

As things stand, you can use <source> elements to offer different formats,
and you can try to play a stream and use script to detect if it fails to
play.

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/20080807/459d633d/attachment.htm>


More information about the whatwg mailing list