PDA

View Full Version : [FIXED] [PR1] Ext.Audio and "setCurrentTime()"



SunboX
27 Oct 2011, 12:36 AM
There´s no method for setting current time in Ext.Audio. So I can´t "stopp()" the audio player. Only way is to destroy the object and build it again, or using:


myExtAudioInstance.media.dom.currentTime = 0;

greetings Sunny

Jamie Avins
31 Oct 2011, 12:07 PM
There would only be a stop method and not a currentTime method as not all devices support the audio tag yet. But it seems like you aren't able to use stop. What device and os version is this on?

SunboX
1 Nov 2011, 1:33 AM
The problem is, Ext.Audio has no stop method. Only pause. If you add stop, thats enought. I need something to stop the audio and play again from the beginning.

greetings SunboX

Jamie Avins
1 Nov 2011, 8:54 AM
Fair enough.