How to add popup video

This is the most searching question How to add popup video in html? then you are in right place. Let’s Start


Download Plugin: Download

HTML Markup

class="js-modal-btn" data-video-id="7TUOI23spt0">Open

Now link this css in your html before end of head tag.

<link rel="stylesheet" type="text/css" href="/path/to/modal-video.min.css">

And linking this js file before end of head. Or you can also add this before end of body tag.
Always remember jQuery file should keeps at the top.

<script src=""></script>

And then linking this before end of body tag.

<script src="/path/to/modal-video.js"></script>
Share it!

Leave a Reply

Your email address will not be published. Required fields are marked *