W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Apple Proposal for Timed Media Elements

From: Arve Bersvendsen <arveb@opera.com>
Date: Thu, 22 Mar 2007 11:40:38 +0100
Message-ID: <op.tpk6l0wkbyn2jm@carnage>
On Thu, 22 Mar 2007 01:08:26 +0100, Maciej Stachowiak <mjs at apple.com>  
wrote:

> - We have included a mechanism for static fallback based on container  
> type and codec, so that it's possible to choose the best video format  
> for a client even if user agent codec support varies.

The covered example in  
<URL:http://webkit.org/specs/HTML_Timed_Media_Elements.html> is

<video src="big_264.mp4" type="video/mp4; codecs=mp4v.21.3">
     <video src="medium.mp4" type="video/mp4; codecs=mp4v.20.9">
         <img src="small.png" alt="alternate image for non-video browsers"  
/>
     </video>
</video>

What would happen if I did this?

<video src="big_264.mp4" type="video/mp4; codecs=mp4v.21.3">
     <video src="medium.mp4" type="video/mp4; codecs=mp4v.20.9">
         <img src="small.png" alt="alternate image for non-video browsers"  
/>
     </video>
     <img src="small2.png" alt="More alternate text" />
</video>

Which fallback is the correct if I can't use either mp4v.21.3 or  
mp4v.20.9? Do I show one or both fallbacks? What if I can't do 21.3, but  
can do 20.9, do I show the 21.3. fallback or not?

-- 
Arve Bersvendsen, Web Applications Developer

Opera Software ASA, http://www.opera.com/
Received on Thursday, 22 March 2007 03:40:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC