Video Keep Playing Even Though Popup is Closed
-
I have added in the jQuery but the video does not stop playing when I exit the popup.
Click on “Watch our showreel” button then start the video and exit the popup. The video still carries on playing. The code I added is as follows:
jQuery('#popmake-4791') .on('pumBeforeClose', function () { var $iframe = jQuery('iframe', jQuery(this)), src = $iframe.prop('src'); $iframe.prop('src', '').prop('src', src.replace('&autoplay=1', '')); });
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Video Keep Playing Even Though Popup is Closed’ is closed to new replies.