how to stop video playing once close fancybox?
-
Hello, thanks for this amazing plugin!
I have this code in my post, it works like a charm, but once you close the fancybox, it’s only hidden, so the video is still playing:
<div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1" style="width:640px;height:360px;"> [jwplayer player="2" mediaid="1364"] </div></div> <a href="#fancyboxID-1" class="fancybox">Read my inline content</a>
how to destruct this div you exit the fancybox?
Thank you very much!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to stop video playing once close fancybox?’ is closed to new replies.