goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
24.04k stars 2.24k forks source link

Is there anything like "Stop" but "Keep playing till end" #1322

Closed flyandi closed 4 years ago

flyandi commented 4 years ago

I could not find anything related to this but before I go and modify and PR the library, I would like to ask if anyone knows if Howler can do a "Audio Stop" but play till the end - instead of right away stopping. Not sure if that an be handled with the native library methods already.

Thanks,

Andy

goldfire commented 4 years ago

You could listen for the end event and then call stop.