In the video section of the theme settings, we embedded a video. The video will start to automatically play when visitors view the website or navigate to posts or pages. We would like for visitors to click video should they desire to watch.
Thanks for the reply. I have tried to modify the code in the video.php (template-parts/home/video.php.
I’ve tried to replacing allow=autoplay with autoplay=0& did not work I also tried autoplay=0&rel=0. I even tried removing allow=autoplay completely.
<iframe width=”100%” height=”350″ src=”<?php echo esc_url(get_theme_mod(‘vw_school_pro_video_link’)); ?>” frameborder=”0″ allow=autoplay; encrypted-media” allowfullscreen></iframe>
Please insert this video url in the video section of customize to see what I mean with the video Auto-playing.
Thank you. The video you will see when you log on is not set up through the theme’s customize.