Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
09-12-2012, 10:57 PM #1
- Join Date
- Jan 2012
- Thanked 0 Times in 0 Posts
Lightbox YouTube player, Stop play code on closing window
First of all please forgive me if I am ignorant, I only have basic code knowledge!
I managed to get around it using this and have implemented it into my test page here. The thumbnail for "Soll Football" is the one with the lightbox.
It all seems to be working great and the JPlayer/lightbox window don't seem to be conflicting in any way... only problem is that if you click the "close window" link while the video is open it closes the display but the video keeps playing.
Can anyone please tell me what to do in order to make the YouTube video stop when you close the lightbox window? There must be a line of code I could use to do this surely? Again, as I have very basic coding knowledge if you could literally talk me through it (copy this, paste here etc) that would be really helpful.
Thanks in advance.