W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] Scripted querying of <video> capabilities

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 8 Aug 2008 11:12:12 +1200
Message-ID: <11e306600808071612q470e7256k2072337f4da8a32f@mail.gmail.com>
On Thu, Aug 7, 2008 at 6:53 PM, Tim Starling <tstarling at wikimedia.org>wrote:

> DirectShow and QuickTime can add those interfaces at a later date. When
> the backends develop this capability, there should be a standard way to
> go the next step and expose it to JavaScript. Otherwise every
> implementor will develop their own interface.


Sure. But the interface has to be able to say "I don't know". And then we're
relying on authors to do the right thing if they get that answer ... which
is always a worry.

In fact, QuickTime already has enough query capabilities for Wikimedia's
> purposes.


Probing for a particular component is a different problem from listing all
supported codecs, which is what I thought you were asking for. I suppose we
could hardcode a list of well-known components along with the codecs they
support and then probe for them to estimate what codecs are supported. But,
yuck.

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/20080808/0ab3d390/attachment.htm>
Received on Thursday, 7 August 2008 16:12:12 UTC

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