Watch video on site

Hello,

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.

Thanks

Regards

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.


$('.button-slider').magnificPopup();

For more detailed instructions, see the documentation.

Regards,
Kharis