Audio"
From Documentation
Maya001122 (talk | contribs) m (Created page with '{{ZKDevelopersGuidePageHeader}} An <tt>audio</tt> component is used to play audio client side. Like the <tt>image</tt> component, you can use the <tt>src</tt> property to specif…') |
m (correct highlight (via JWB)) |
||
Line 1: | Line 1: | ||
{{ZKDevelopersGuidePageHeader}} | {{ZKDevelopersGuidePageHeader}} | ||
− | An < | + | An <code>audio</code> component is used to play audio client side. Like the <code>image</code> component, you can use the <code>src</code> property to specify a URL of an audio resource, or the <code>setContent</code> method to specify dynamically generated audio. |
− | Depending on the browser and the audio plug-in, developers might be able to control the playback of the audio by using the < | + | Depending on the browser and the audio plug-in, developers might be able to control the playback of the audio by using the <code>play</code>, <code>stop</code> and <code>pause</code> methods. Currently, Internet Explorer with Media Player has such capabilities. |
{{ ZKDevelopersGuidePageFooter}} | {{ ZKDevelopersGuidePageFooter}} |
Latest revision as of 10:44, 19 January 2022
This documentation is for an older version of ZK. For the latest one, please click here.
An audio
component is used to play audio client side. Like the image
component, you can use the src
property to specify a URL of an audio resource, or the setContent
method to specify dynamically generated audio.
Depending on the browser and the audio plug-in, developers might be able to control the playback of the audio by using the play
, stop
and pause
methods. Currently, Internet Explorer with Media Player has such capabilities.