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"/>
Property |
Description |
Data Type |
Default Value |
---|---|---|---|
|
Sets the alignment: one of top
|
|
|
|
Sets whether to auto start playing the |
|
|
|
Sets the width of the border. |
|
|
|
Sets the content directly. |
|
|
|
Sets the src. |
|
|