• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio Player: Go to Beginning of Track
#1
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!
Reply
#2
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
Reply
#3
Good to know about the play button, thanks. I'll validate my claim about "previous" behavior with a few players...
Reply
#4
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).
Reply




Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.