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

[whatwg] Scripted querying of <video> capabilities

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 12 Aug 2008 09:47:26 +0200
Message-ID: <47189E6C17FE412494F56EF7A38E903E@POCZTOWIEC>
What is the advantage of using JavaScript to determine a viable embedding
method over using alternative streams and fallback content that can include
the OBJECT element where appropriate?
Chris

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Tim Starling
Sent: Thursday, August 07, 2008 1:23 PM
To: WHATWG List
Subject: Re: [whatwg] Scripted querying of <video> capabilities

The reason this is needed, as opposed to using multiple <source> tags,
is because inevitably, some clients will support certain formats via
<object> (or in our special case, <applet>) and not via <video>.
Querying the browser's <video> capabilities allows JS to decide what
sort of embedding method to use. It's an essential migration feature.

-- Tim Starling
Received on Tuesday, 12 August 2008 00:47:26 UTC

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