I have a video on my website that autoplays on website load. I want add a button to the page so that when the button is clciked, the div containing the video will popup.
Here is the code ;
<div class="video-con" id="myvideo">
<video muted="" loop="" playsinline="">
<source src="https://example.com/wp-content/uploads/2021/06/VERB_Showreel_V06-1-1-1.mp4" type="video/mp4">
</video>
</div>
How do I make this video play as a popup when a button is click
Edit: I am looking to recreate video hero on https://verbbrands.com/