kilokeith/soundcloud-soundmanager-player

Stop button doesn't move position of progress bar

Closed this issue · 1 comments

Hey there,
I love your project. It's working great for me except for one thing. When I press stop, the audio stops, but visually the progress bar doesn't go back to the beginning of the track. Instead, it just stays where it is, creating the visual impression that the audio was merely paused.

Once after a user presses play again does the progress bar jump back to the beginning.

For my project, I really need the stop button to register visually right away. I've been playing around with a few things in the code, but can't seem to get anything to work.

Any ideas?

Thanks,
Simon

You could just use a workaround: Listen for the "scplayer.track.stopped" and reset the width of your progressbar.