-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello;
I add audio component in zul
<audio id="audio" controls="true" />
And in Java I add this :
File f = new File("C:\\cartoon001.wav");
AAudio media = new AAudio(f);
audio.setContent(media);
This works in firefox, but does not work in chrome v56..
The controls are greyed..
Can you help me? ZK Version: 8.0.0, also I tried 7.0.2 Thanks.
Hi again;
I created a zkfiddle
Thanks.
This works in Firefox;
Hello ,
I made a fiddle and used the following code to test the audio component which works on chrome and ZK8.
<zk>
<window border="normal" title="hello" apply="pkg$.TestComposer">
<audio src="http://www.wavsource.com/snds_2017-02-05_1692732105491832/movie_stars/davis/bargain_not.wav" controls="true"></audio>
</window>
</zk>
There is a chance that the audio file you are using is not supported.
Best Regards
Asked: 2017-02-20 08:24:12 +0800
Seen: 30 times
Last updated: Feb 24 '17