Showing 1 – 2 of 2 replies
mmalta

Stop Video after modal close

mmalta PURCHASED
1 year ago
On the "index-simple" page, in the following div element. After the player is closed, the video is still running but now hidden, I require the video to be destroyed or stopped:

<div class="modal fade" id="watchvideomodal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg">
<div class="modal-content video-modal rounded overflow-hidden">
<!-- <video class="w-100" controls autoplay muted loop>
<source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4"> -->
<!--Browser does not support <video> tag -->
<!-- </video> -->
<!--If you want to use your own video please set your files path-->
<div class="ratio ratio-16x9">
<iframe src="https://www.youtube.com/embed/eSIJddEieLI?rel=0" title="YouTube video"
allowfullscreen></iframe>
</div>
<!--If you want to use the youtube link please try the above code-->

<@*div class="ratio ratio-16x9">
<iframe src="https://player.vimeo.com/video/99025203" title="Vimeo video" allowfullscreen></iframe>
</div>*@
<!--If you want to use the Vimeo link please try the above code-->
</div>
</div>
</div>
Shreethemes Studio
1 year ago
Hi,

We will provide new updates shortly as we are working on it.

Thank you
Shreethemes Studio
1 year ago
Hi,

We have updated all things please download a new file from WrapBootstrap.

Let us know if you have any questions or issues.

Thank you