-
FEATURED COMPONENTS
First time here? Check out the FAQ!
i have a tag <audio>. i want to setSrc for <audio> from file java. Please turtorial for me, thanks every body
Hello.
Refers to the document and javadoc, you can assign src property by using setSrc("sound\sample.map")
in Java.
ZK supports HTML5 audio tag since 7.0.0, so multiple sources can be specified in order to provide audio encoded in different formats for different browsers. For example:
setSrc("sample.wav, sample.mp3")
or simply use setSrc(List<String>)
method.
Asked: 2014-04-27 02:10:46 +0800
Seen: 11 times
Last updated: Apr 27 '14