Setup youtube video in background

Apply ID (videobg1 apply on above example code) to section on which video background needs to display,

Set background image using data-bg=”images/bg7.jpg” ¬†which display as place holder of video.

Set youtube video ID in videoURL:’dorZ3vag5PI’ as display in above example code. Apply section ID in containment:’#videobg1′ as display in above highlighted code. Make sure your section ID properly set on containment.

 

 

Related Articles