On Mon, 13 Jul 2009 17:01:26 -0400, Philip Jägenstedt <phil...@opera.com> wrote:

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.

--
Michael

Reply via email to