Black Friday

Up to 30% off Avada One

Ends in

0
0
0
0
Days
0
0
Hrs
0
0
Min
0
0
Sec

See the deal →

YouTube Element

Last Update: August 30, 2025

The Avada YouTube Element enables you to embed YouTube videos directly on your website, providing control over their appearance and functionality. It’s even equipped with built-in responsive features, so you don’t have to worry about the size of your videos.

Watch the video below for a visual overview of the Element, view the Avada YouTube Element page for live examples, and read on to see the complete list of options.

For privacy reasons YouTube needs your permission to be loaded.

How To Use The YouTube Element

Adding a YouTube video to your Avada website is straightforward. To start, add the Element to your desired column. The first and most crucial 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 select the video’s alignment in the column where you place it. Set the dimensions of the video. This is in pixels, but you enter a number. You can enter either the width or the height, and the other value will be automatically 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. Additionally, there is an option for specifying additional API parameters. The most common of these is &rel=0. For a complete list of YouTube parameters, please see this help file.

The YouTube Element also includes a Video Facade option to help with page speed. Once you have finished with the options, click “Save”, and the video will be inserted into your page.

Element Options

General

HeadingDescription
Video ID or UrlFor example the Video ID for https://www.youtube.com/watch?v=CbOQqvQDrVQ is CbOQqvQDrVQ.
DimensionsIn pixels but only enter a number, ex: 600. When an aspect ratio is set, the height is calculated from the width.
Aspect RatioSelect an aspect ratio for the video. "Automatic" uses the ratio of the dimensions.
Custom Aspect RatioSet the height as a percentage of the width, ex: 100 for a square video.
Start TimeSpecify a start time for the video (in seconds).
End TimeSpecify an end time for the video (in seconds).
Autoplay VideoSet to yes to make video autoplaying. Muted video required for autoplay video.
Mute VideoSet to yes to make video muted.
Loop VideoSet to yes to let the video loop.
Player ControlsSet to yes to display the player controls.
Additional API ParameterUse an additional API parameter, for example, &rel=0 to only display related videos from the same channel.
Title AttributeSet the title attribute for the iframe embed of your video. Leave empty to use default value of "YouTube video player #".
Video FacadeEnable video facade in order to load video player only when video is played.
Preview ImageUpload an image to show on the video facade instead of the YouTube thumbnail.
Thumbnail SizeSelect the video's preview thumbnail size. The sizes are YouTube standard, and not all sizes are available for every video. Leave empty for auto selection depending on video dimensions.
Load Via YouTube No CookieEnable to load the video as trackingless embed via youtube-nocookie.com.
Experiment EventsSelect any available Avada Experiment events to this element. Note: if you are already using the selector to trigger this, no need to add here.
Element VisibilityChoose to show or hide the element on small, medium or large screens. You can choose more than one at a time.
CSS ClassAdd a class to the wrapping HTML element.
CSS IDAdd an ID to the wrapping HTML element.

Design

HeadingDescription
AlignmentSelect the video's alignment.
Border SizeControls the border size of the video. In pixels.
Border StyleControls the border style of the video.
Border ColorControls the border color of the video.
Border RadiusEnter values including any valid CSS unit, ex: 10px.
Box ShadowSet to "Yes" to enable box shadows.
Box Shadow PositionSet the vertical and horizontal position of the box shadow. Positive values put the shadow below and right of the box, negative values put it above and left of the box. In pixels, ex. 5px.
Box Shadow Blur RadiusSet the blur radius of the box shadow. In pixels.
Box Shadow Spread RadiusSet the spread radius of the box shadow. A positive value increases the size of the shadow, a negative value decreases the size of the shadow. In pixels.
Box Shadow ColorControls the color of the box shadow.
MarginEnter values including any valid CSS unit, ex: 4%.

Extras

HeadingDescription
Animation TypeSelect the type of animation to use on the element.
Direction of AnimationSelect the incoming direction for the animation.
Animation ColorSelect the color of the animation
Speed of AnimationType in speed of animation in seconds (0.1 - 5).
Animation DelaySelect the delay time after the animation starts(0 - 5).
Offset of AnimationControls when the animation should start.
Conditional RenderingAdd conditional rendering logic for the element. The element will only be part of the post / page contents, if the set conditions are met. NOTE: Server cache can interfere with results.
Structured DataEnable video structured data for better SEO.
Upload Date & TimeSelect video upload date and time.
Upload TimezoneSelect video upload time timezone.
Video DurationInsert the video duration.
Video TitleInsert the video title.
Video DescriptionInsert the video description.
Dynamic DisplayShow or hide this element dynamically based on real-time cart, wishlist, switch and color mode state. Changes apply immediately without a page reload. NOTE: Server cache can interfere with initial visibility.

In this article

Prebuilts
Buy Now
Buy Avada Now!
We use essential cookies to run our site, and optional ones for analytics, advertising, and personalization. You can manage your choices at any time. See our Privacy Policy.
  • Embeds from this vendor are blocked and replaced with a placeholder until consent is given.

  • Embeds from this vendor are blocked and replaced with a placeholder until consent is given.

  • Embeds from this vendor are blocked and replaced with a placeholder until consent is given.

  • Embeds from this vendor are blocked and replaced with a placeholder until consent is given.

  • Enables Google Analytics to store data about your visit, such as pages viewed, time spent, and interactions, to help us understand and improve website performance.

  • Enables HubSpot to track your activity on this site, power the live chat widget, and manage marketing interactions, such as form submissions.

  • Used to store your authentication details.

  • Used to store your authentication details.

  • Used to check if your browser has cookies enabled.

  • Used to persist your user configuration in the admin dashboard.

  • The time at which wp-settings-[user_id] was set.

  • Remembers the state of Switch elements you have toggled.

  • Stores your privacy and consent choices so they are respected on future visits.

  • Set by Cloudflare to tell real visitors apart from bots and protect our Websites from automated attacks. It does not track you across websites and is not used for analytics or advertising.

  • Set by Cloudflare after you pass a security check, so you are not asked to complete it again on every page.

Go to Top