[whatwg] HTML 5 video tag questions

Tab Atkins Jr. jackalmage at gmail.com
Mon Jul 13 11:38:11 PDT 2009


On Mon, Jul 13, 2009 at 1:33 PM, Boris Zbarsky<bzbarsky at mit.edu> wrote:
> Philip Jägenstedt wrote:
>>
>> It would have to be part of the resource selection algorithm. Since that
>> waits for new source elements indefinitely, when exactly would you decide to
>> switch to fallback content? Bad solutions include special-casing static
>> markup and/or (falsely) assuming that scripts will not insert more source
>> elements at some point. If fallback content is defined simply as the content
>> of the video element I also can't figure out any other solutions.
>
> A <source> that says "use the content"?
>
> -Boris
>

Ie inserting <source fallback> or <source contents>.  If both @src and
@fallback are specified on a <source>, it is treated like a <source
src><source fallback>; that is, it first tries the @src attribute, and
if that doesn't work, then it goes to the fallback content.

~TJ



More information about the whatwg mailing list