Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q5422 How do I play background sound using ACSS?

irt.org | Knowledge Base | CSS | Q5422 [ previous next ]

Q5422 How do I play background sound using ACSS?

While an element is spoken, you can use the play-during property to specify a sound to be played as a background.

Try this:

P {
   voice-family: Juliet, female
   volume: loud
   play-during: none
    }
P.sad {
   voice-family: Romeo, male
   volume: medium
   play-during: url(violin.aiff)
    }
P.happy
   voice-family: John, child
   volume: medium
   play-during: url(piano.wav)
    }

Feedback on 'Q5422 How do I play background sound using ACSS?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.