I added audio control on panel. I’m just settings its url and nothing else.
On running the app I can see the audio control and song is also played. I can do actions like play/pause/mute volume. Hovering on volume control i get volume changer seek bar but I am not able to change the volume. I am using chrome to test my application.
Any idea on how to handle volume change of audio control ?
thanks
If you want to change the volume programmatically,
you can use the ‘setVolume’ method on your ‘audio’ xtype element:
http://docs.sencha.com/touch/2-0/#!/api/Ext.Audio-method-setVolume
You just pass a float value between 0.0 (minimum) and 1.0 (maximum).
If you are talking about the automatic control panel, look at this fiddle:
http://www.senchafiddle.com/#fOAGD#CcDKl
I am testing this one in Chrome and I am perfectly able to change the volume using the native slider. I also added a custom slider to show you how you can do it programmatically.
Can you precise what your problem is?