Home › Forums › JavaScript › Using jQuery to stop audio › Re: Using jQuery to stop audio
May 17, 2013 at 9:52 am
#135416
Argeaux
Participant
Something like this?:
When you click play add a class like “playing” to that audio cue, then if you click play again somewhere search for all the cues that have the class “playing” and pauze or stop it. Then remove the class “playing” from that cue and add it to the new cue.