Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stopping YouTube video when closing DIV

Status
Not open for further replies.

tylerhavlin

Technical User
Mar 1, 2012
1
US
I've got a simple CSS-based popup that runs with some JavaScript. I've got an <iframe> with a YouTube video displayed inside but when I close the popup, the video continues to run in the background but without the video, just sound. How would I be able to stop the video when the user clicks on "Close this window"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top