The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Clearing embedded material

  • # January 7, 2010 at 10:59 pm

    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)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed