how can I make to have the audio from the video playing to be the only one active
here is the code of the video slider. i tried the script shown below and it worked to bring audio on and off when clicking on the video but when i slide to the next video and if i haven’t clicked to turn the audio off from the previous video, the audio is still on on the next video, so if i click on that video, all audios gets mixed. i want the audio of the video playing to be the only one with sound.