[whatwg] Scripted querying of <video> capabilities

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