The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Clearing embedded material

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #27489

    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.