[whatwg] HTML 5 video tag questions

Simon Pieters simonp at opera.com
Sun Jun 14 23:08:20 PDT 2009


On Mon, 15 Jun 2009 07:27:18 +0200, Tab Atkins Jr. <jackalmage at gmail.com>  
wrote:

> On Sun, Jun 14, 2009 at 8:46 PM, <jjcogliati-whatwg at yahoo.com> wrote:
>>
>> I read section 4.8.7 The video element and I have some questions:
>> 1.  What happens if the user agent supports the video tag but does not  
>> support the particular video codec that the video file has?  Should it  
>> display the fallback content in that case, and if so, can a video tag  
>> be put inside another video tag?
>
> If the particular codec is not supported, it displays the fallback
> content instead.

No. If the particular codec is not supported then you get a blank box.

> If you want to offer multiple formats to cater to
> disparate UAs, give <video> some <source> children rather than @src.
> It will try each <source> in turn until it finds one it can play.

Yep.

-- 
Simon Pieters
Opera Software


More information about the whatwg mailing list