Audio
From Documentation
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.