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

[whatwg] HTML 5 video tag questions

From: Michael A. Puls II <shadow2531@gmail.com>
Date: Mon, 13 Jul 2009 17:23:47 -0400
Message-ID: <op.uw0y1utp1ejg13@sandra-svwliu01>
On Mon, 13 Jul 2009 17:01:26 -0400, Philip J?genstedt <philipj at opera.com>  

> Does audio also have fallback content?

With <audio>, you can set its display to 'none' and the audio will still  
play. However, if its display is set to 'none' and the element were to  
fall back to a child object element that loads a plug-in, things wouldn't  
work because plug-ins don't work with a display of 'none'.

You would then have to detect that <audio> fell back so you could set its  
display to "inline-block" for example so the fallback plug-in would  
actually load. Or, there'd have to be a new css selector to handle this  
like audio::fallback_state { display: inline-block} or a parent selector  
on the child object element that was only applied when <audio> fell back  
to it. Or, the browser would have to make plug-in objects that are  
descendants of an <audio> element work with a display of 'none'.

The same applies to <video> if you want to set its display to 'none' and  
just hear the audio.

Received on Monday, 13 July 2009 14:23:47 UTC

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