XSL-FO play-during Property

Back

Definition and Usage

The play-during property is used only in Aural Stylesheets.

The aural rendering of a document combines sounds and voices to go through the content of a document. Aural presentation occurs often by converting the document to plain text and then feeding this to a screen reader.

Situations and markets for listening to information could be:

  • for blind people
  • in the car
  • help users learning to read

The play-during property specifies a background-sound to be played while the content of an element is spoken.


Details

  • Inherited: no
  • Percentages: N/A
  • Media: aural

Property Values

Value Description
URI An URI to an audio file
mix The sound from the parent element's play-during property continues to play + the sound specified in URI is mixed with it.

Example: play-during: url("sea.wav") mix

repeat The sound will be repeated if it stops before the entire content is spoken.

Example: play-during: url("sea.wav") repeat

auto Default. The sound of the parent element continues to play
none Silence



Back

Color Picker

colorpicker