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.