I need the video to clear when another video is played. As it is now when you click one of the buttons and play a video, mid way through the video you can click on another video and still hear the audio from the previous video.
Is there way to clear the div instead of just making it’s contents hidden which is how it is now? Or could I add an extra onClick to the body that clears it? I can’t seem to find a solution that I can work into the if statement.
Viewing 1 post (of 1 total)