MobileSheets Forums

Full Version: Audio Player: Go to Beginning of Track
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I appreciate having the audio player incorporated--it's useful.

However, I keep expecting something that I'm used to in other audio players, so much so that I can't stop doing it: Like turning on the light switch during a power outage.

I try to use the |< ("previous") button to go to the start of the track but it doesn't work.

Suggestion:

Code:
when (previous button is clicked) {
  if ( (the playhead is > x seconds into the track) or (there is only 1 track on the chart) ) {
    go to the start of the track
  } else
    go to the previous track
  }
}


Thanks!
Pressing the play button will actually do that, but I'm not opposed to changing the behavior of the previous button to be more consistent with other audio players.

Mike
Good to know about the play button, thanks. I'll validate my claim about "previous" behavior with a few players...
So far, Windows Media Player is a good, apples-to-apples example, because it has the same controls as MobileSheets. (Some players don't have the rewind/ff controls.) It seems to behave the way I describe.

In that player, x=5 (seconds).