Platform SDK: Web Telephony Engine |
Value: [URL | text | none]
Initial: none
Applies to: all elements
Inherited: no
Percentage values: N/A
The cue, cue-before, and cue-after CSS properties cause audio items to play before and/or after a given element. The cue property plays the same audio item before and after the element. The cue-before and cue-after properties let you specify separate audio items for before and/or after the element.
The value of these properties can be either the URL of a .wav file, or a text string for the TTS engine to render. The value is considered to be a URL if it is wrapped with 'URL( )', and as text otherwise.
The audio item specified by the cue or cue-before property is played before the item associated with the VOICEFILE attribute of the element. The cue-after property is played after all the audio items of the element and all its children. In other words, all cues on an element, either textual or voice files, are played independently of whether the VOICEFILE attribute is defined on the element. However, the VOICEFILE attribute on the parent element cancels playback of textual cues on child elements.
For information about how to use cue properties to wrap menu items and controls, see Offering Menus to the Caller.