Hey Guys ~ I’m designing a site for a filmmaker, and have a series of videos that load within a pop up. These videos work fine, except the KEEP PLAYING after I close the pop-up.
Thank you
Here is my site Read-Only: https://preview.webflow.com/preview/malek?utm_medium=preview_link&utm_source=dashboard&utm_content=malek&preview=fa68f590db2a8251701469e137132be7&mode=preview
([how to share your site Read-Only link][2])
avivtech
(Aviv Shwartz)
August 7, 2019, 2:56pm
2
Hi Michael,
You should try the forum search it is a great feature
i have youtube video in my modal but when i close the modal the youtube video runs in background in audio mode how can i stop it.
×
<h5 class="modal-title" id="exampleModal">Modal title</h5>
</div>
<div class="modal-body">
<div style="position:relative;height:0;padding-bottom:56.21%" id="video"><iframe src="https://www.youtube.com/embed/RQaVzbxZqXY?ecver=2" style="position:absolute;width:100%;height:100%;left:0" width="641" height…
Hey Webflow’ers,
I have a video that appears in a modal. When you close the modal, the audio from the video is still playing. Does anyone know how to stop a video from playing after you close a modal that contains it? I’ve looked around stack overflow but nothing seems to work so far. Here’s the custom webflow js code:
<script type="text/javascript">
$(document).ready(function() {
$('#modal-movie').click(function(e) {
$('.modal-background-movie').fadeIn();
e.preventDefault(…
1 Like