Player"

From Documentation
Line 3: Line 3:
 
*Java API: <javadoc>org.zkoss.zkmax.zul.Player</javadoc>
 
*Java API: <javadoc>org.zkoss.zkmax.zul.Player</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkmax.med.Player</javadoc>
 
*JavaScript API: <javadoc directory="jsdoc">zkmax.med.Player</javadoc>
 +
 +
= 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. Developers might be able to control the play of an audio by the <tt>play</tt>, <tt>stop</tt> and <tt>pause</tt> methods.

Revision as of 08:14, 13 April 2018

Player

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. Developers might be able to control the play of an audio by the play, stop and pause methods.