[whatwg] Apple Proposal for Timed Media Elements

Gareth Hay gazhay at gmail.com
Thu Mar 22 05:29:24 PDT 2007


If 21.3 can be handled -> get big_264.mp4
else
	if 20.9 can be handled -> get medium.mp4
	else
		get small.png
	additionally get small2.png

or to put it another way....

> What if I can't do 21.3, but can do 20.9, do I show the 21.3.  
> fallback or not?

You show it. that's how you have defined it.
If you can't do 21.3, you get everything within the video tag.

It is then a seperate case

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

If you can do that you will get the video + the remainder of the  
fallback from 21.3
If you can't do that, you will get the fallback from 21.3 AND the  
fallback from here.

That would be my understanding.

>
> 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/




More information about the whatwg mailing list