Audio"
From Documentation
(→Audio) |
|||
Line 8: | Line 8: | ||
= Employment/Purpose = | = Employment/Purpose = | ||
− | + | An <tt>audio</tt> component is used to play the audio at the browser. Like <tt>image</tt>, you could use the <tt>src</tt> property to specify an URL of an audio resource, or the <tt>setContent</tt> method to specify a dynamically generated audio. | |
− | |||
− | |||
+ | Depending on the browser and the <tt>audio</tt> plugin, developers might be able to control the play of an audio by the <tt>play</tt>, <tt>stop</tt> and <tt>pause</tt> methods. Currently, Internet Explorer with Media Player is capable of such controls. | ||
= Example = | = Example = |
Revision as of 08:11, 12 May 2010
Audio
Employment/Purpose
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.
Example
Supported events
None | None |
Supported Children
*ALL
Use cases
Version | Description | Example Location |
---|---|---|
5.0+ |
Version History
Version | Date | Content |
---|---|---|
5.x.x | x/x/20xx | Initialization |