Powered By GitBook
Video pop-up (Lightbox)
    1.
    From top bar click on settings and Choose Pro settings-
2. Copy and paste below code in your website
1
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
2
3
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.css" />
4
<script src="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.js"></script>
5
Copied!
Click on Save button

Now add a HTML button to your website

Now copy the below code, and make sure to replace youtube link with your video link.
1
<a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk" class="youtubebtn">
2
Play Video
3
</a>
Copied!
Remove the code from previously added widget and paste the above code and click on save button
Last modified 1yr ago