Audio"

From Documentation
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 <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 specify a URL of an audio resource, or the <tt>setContent</tt> method to specify dynamically generated audio.
+
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 <tt>play</tt>, <tt>stop</tt> and <tt>pause</tt> methods. Currently, Internet Explorer with Media Player has such capabilities.
+
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

Stop.png 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.



Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.