W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2009

[whatwg] HTML 5 video tag questions

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 15 Jun 2009 00:27:18 -0500
Message-ID: <dd0fbad0906142227n3ff6360ayb6aaf837e38c95a8@mail.gmail.com>
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.  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.

(That said, I don't think there's anything wrong with nesting
<video>s, it's just unnecessary.)

~TJ
Received on Sunday, 14 June 2009 22:27:18 UTC

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