-
27 Oct 2011 12:36 AM #1
[PR1] Ext.Audio and "setCurrentTime()"
[PR1] Ext.Audio and "setCurrentTime()"
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:
greetings SunnyPHP Code:myExtAudioInstance.media.dom.currentTime = 0;
-
31 Oct 2011 12:07 PM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
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?
-
1 Nov 2011 1:33 AM #3
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
-
1 Nov 2011 8:54 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,652
- Vote Rating
- 14
Fair enough.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-955
in
2.0.


Reply With Quote