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

[whatwg] Scripted querying of <video> capabilities

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 21 Aug 2008 09:49:52 +1200
Message-ID: <11e306600808201449i268a80ecq7f5b678e1f50d404@mail.gmail.com>
On Wed, Aug 20, 2008 at 9:53 PM, Henri Sivonen <hsivonen at iki.fi> wrote:

> Do you mean trying to download each video, giving it to GStreaming and
> seeing if an error code comes back?
>

That might be what we have to do, yes.

But at least that can be done asynchronously. You couldn't implement a
synchronous JS query API that way of course.

Hmm, I suppose you could implement a synchronous API by making a collection
of videos, one in each known format, and on startup trying to play them all,
and recording which ones were successful. But "ugly" doesn't even begin to
describe that solution.

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/20080821/35e71fad/attachment.htm>
Received on Wednesday, 20 August 2008 14:49:52 UTC

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