By default, only self-hosted videos can be used as video backgrounds. However, you can create a section with a YouTube video background by following the steps below.
Insert a new Row into the Section's layout.
Open the Row's settings, go to the Design Tab and make the following changes:
Sizing → Enable the Use Custom Gutter Width.
Set the Gutter Width to
Set the Width to
Set the Max Width to
Set the Top Padding to
Set the Bottom Padding to
Go to Advanced Tab → Position and choose
Insert the Code module in this new Row.
In the Code module, place the following HTML code:
<iframe width="560" height="315" src="https://www.youtube.com/embed/hN2LfPgbY1g?autoplay=1&mute=1&controls=0&loop=1&playlist=hN2LfPgbY1g&modestbranding=1&showinfo=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Replace the YouTube video ID
hN2LfPgbY1g(in both instances) with the video ID you want to use.
The result will be as per the video below: