Audio"

From Documentation
Line 3: Line 3:
 
= Audio =
 
= Audio =
  
*Demonstration: [http://www.zkoss.org/zkdemo/userguide/#u5 Audio]
+
*Demonstration: [http://www.zkoss.org/zksandbox/userguide/#u5 Audio]
 
*Java API: <javadoc>org.zkoss.zul.Audio</javadoc>
 
*Java API: <javadoc>org.zkoss.zul.Audio</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.med.Audio</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zul.med.Audio</javadoc>

Revision as of 07:47, 17 November 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

ZKComRef Audio Example.png

 <audio id="audio" height="20"/>

Supported Events

Name
Event Type
None None

Supported Children

*NONE

Use Cases

Version Description Example Location
     

Version History

Version Date Content
     



Last Update : 2010/11/17

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