An audio component is used to play the audio at the browser. Like image, you could use the src property to specify an URL of an audio resource, or the setContent method to specify a dynamically generated audio.
Depending on the browser and the audio plugin, developers might be able to control the play of an audio by the play, stop and pause methods. Currently, Internet Explorer with Media Player is capable of such controls.
<audio id="audio" height="20"/>
| || |
- Inherited Supported Events: XulElement
Last Update : 2010/11/17
|Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.|