1. Home
  2. Tips
  3. Youtube Video Background
  1. Home
  2. Troubleshooting
  3. Youtube Video Background

Youtube Video Background

How to add a YouTube video background

Background videos can be easily applied to a Bloc via the sidebar inspector controls, when a Bloc is selected. However, these options only allow you to apply a local video.

If you want to apply a YouTube video, you will need to navigate to the video layer using the layer tree and then set the video Bric Type to YouTube/Vimeo. This will now allow you to input your YouTube embed snippet.

We recommend adding the following suffix to the embed src attribute URL value. This will auto play the video, mute it and hide the player controls.

?autoplay=1&mute=1&controls=0

Beginners Tip

Please note, Vimeo embedded videos do not support being used as Bloc background videos.

Updated on 9th July 2021

Was this article helpful?

Related Articles