Home Forums WordPress Themes – Premium Deck Pro Update video URL in Billboard Section Reply To: Update video URL in Billboard Section

#41540
Sushil Adhikari
Moderator

Dear Nancy McCord,

Video Embed Code is only made compatible with You Tube video URL. If you want to use embedded code than you need to customize template-homepage.php temmplate keeping on child theme. So your changes will not lost on theme update.

You can find this code on template-hompepage.php:

<?php echo wp_oembed_get( get_theme_mod( 'dp_video_embed_code' ), array( 'width' => 800, 'height'=> 450 ) ); ?>

Replace this whole line of code with your emebedded video Ifrmae:

<iframe width="560" height="315" src="https://www.youtube.com/embed/zPZ6MgUzJuE?rel=0" frameborder="0" allowfullscreen></iframe>

Note: Please insert video url on Video Embed code section of customizer so it satisfy if else condition. And please follow this procedure only if you are technically sound on WordPress, otherwise please take help of a developer.

Thanks