Currently, I'm using the @replit/audio library in nodejs to play music.But, when I stop the repl, the music keeps playing.
What can I do to stop this?
Reload the page.
@CodeMaster007 anyway I can stop it without reloading the page?
I'm not sure what your problem is specifically. Is this what your looking for....sound.pause();? @codingMASTER398
@CodeMaster007 i can use sound.pause but not when the project is stopped. There is no way to detect when the app is stopped.