YouTube Element
Last Update: April 17, 2024
Adding a YouTube video to your website has never been easier thanks to the Avada Builder YouTube Element. Just add the YouTube video ID, and away you go. It’s even got built in responsive features, so you don’t have to worry about the size of your videos! Read below to discover how to make the most of the YouTube Element, and watch the video below for a visual overview.
How To Use The YouTube Element
Adding a YouTube video to your content couldn’t be easier. To start, add the element into your desired column.
Now, you have the options window open. The first and most important step is to enter the YouTube video ID into the Video ID field. This is the end section of the URL; for example, the Video ID for https://www.youtube.com/watch?v=UDyNsnB_COA is UDyNsnB_COA.
In the Alignment field, you can choose the video’s alignment in the column you place it in. Set the dimensions of the video. This is in pixels, but you just enter a number. You can enter just the width or the height, and the other value will be auto-calculated, assuming a 16:9 aspect ratio. If you have a video with a non-16:9 aspect ratio, enter both width and height.
There are a couple more options you can select. One is Autoplay, which is set to No by default, as it’s generally not considered good practice for videos to autoplay, and there is an option for additional API parameters. The most common of these is &rel=0. For a full list of YouTube parameters, please see this document. The YouTube Element also includes a Video Facade option to help with page speed. Once you have finished with the options, simply click save, and the video will be inserted into your page.