scottschiller / SoundManager2

A JavaScript Sound API supporting MP3, MPEG4 and HTML5 audio + RTMP, providing reliable cross-browser/platform audio control in as little as 12 KB. BSD licensed.
http://www.schillmania.com/projects/soundmanager2/
Other
4.99k stars 768 forks source link

A way to force play/stop rather than play/pause on an mp3 stream? #253

Open deeve opened 4 years ago

deeve commented 4 years ago

I am using a single button to play and pause an mp3 stream. In the head I have: soundManager.setup({ url: '/audio/swf/', useConsole: false, debugMode: false }); I would prefer the 'pause' action to actually perform a 'stop' as sometimes if I then click play again, the stream will have been paused and is not then in real time. Also, there is then a weird, jumbled overlap of paused and real-time audio when this happens. Can you please advise as to correct setup? Thanks

axlevxa commented 1 year ago

I am wondering the same thing. I don't have any overlap issues though.