Results 1 to 4 of 4

Thread: [PR1] Ext.Audio and "setCurrentTime()"

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-955 in a recent build.
  1. #1
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
      0  

    Default [PR1] Ext.Audio and "setCurrentTime()"

    Theres no method for setting current time in Ext.Audio. So I cant "stopp()" the audio player. Only way is to destroy the object and build it again, or using:

    PHP Code:
    myExtAudioInstance.media.dom.currentTime 0
    greetings Sunny

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

    Default

    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?

  3. #3
    Sencha User SunboX's Avatar
    Join Date
    Mar 2010
    Posts
    238
    Vote Rating
    28
      0  

    Default

    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

  4. #4
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    19
      0  

    Default

    Fair enough.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •