[whatwg] Scripted querying of <video> capabilities

FWIW, in nightly Gecko builds we have an implementation of canPlayType per
spec. It parses the "codecs" parameter of the provided MIME type, so we can
answer "no", "maybe" or "probably" depending on what's in the type. E.g.:
http://mxr.mozilla.org/mozilla-central/source/content/media/video/test/can_play_type_ogg.js

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/20081230/a4d16683/attachment.htm>

Received on Monday, 29 December 2008 03:08:48 UTC