Last active
June 20, 2024 00:55
-
-
Save wplit/e214a06aeccd90b95e2cd09850ae20f0 to your computer and use it in GitHub Desktop.
stop presto player when lightboxes close
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($) { | |
$('.oxy-lightbox').on('extras_lightbox:close', () => { | |
$(this).find('presto-player').stop(); | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment