Watch video on site


How can I watch the video I have on my home page on site?
What I mean, is when you click on watch video, it is redirected to youtube, but I want the video to be played on site.



Hello there,

Unfortunately such that objective isn’t supported by the theme’s code. To accomplish it, you will need jQuery lightbox library like Magnigic Popup. To require the scripts, you can use wp_enqueue_script function. Then you have to add the following jQuery code to initialize the popup on your “Watch Video” button.


For more detailed instructions, see the documentation.