Name
play-during — NN n/a IE n/a CSS 2
Synopsis
Inherited: No
For aural style sheets, sets the sound mixing properties of a background sound with a text-to-speech rendering of the element’s content.
CSS Syntax
play-during: uri [mix | repeat] | auto | noneValue
The uri value is a link to the sound file
to be used as background sound (if desired). Optionally, you can
specify that the background sound of the parent element’s
play-during attribute is started and mixed with
the current element’s background sound. If the background
sound’s length is shorter than it takes for the element’s
text to be spoken, the repeat constant tells the
browser to repeat the sound until the spoken text has finished. A
value of auto means that the parent
element’s sound continues to play without interruption. And a
value of none means that no background sound (from
the current or parent element) is heard for this element.
Initial Value
auto
Applies To
All elements.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access