Subscribe On YouTube

Join other subscribers and enjoy other Divi video tutorials!

How To Use YouTube And Other External Sources As Dynamic Divi Background Videos

Nelson Miller Profile Orange
In this tutorial, I’ll show you how to use dynamic background videos in Divi. Until now, this was essentially impossible, but with Divi 5 and our Divi Dynamic Content Helper plugin, we finally found a way to make it work.

▶️ Please watch the video above to get all the exciting details! 👆

divi 4 background video settings

Over the years, people tried all sorts of workarounds. Some used a Video module as the background, forcing it full height and width, with content placed over top with negative margins and z-index. Others wrote custom code to add video URLs, built complex section layers, manually embedded videos from other sites with iframes, or tried swapping video sources with JavaScript after the page loaded. Most of these solutions felt more like duct tape and caulk than a proper workflow. None of these methods worked well, and there was never a reliable solution.

Thanks to the major updates in Divi 5’s code and better separation of background controls, we took another look at this problem. After a lot of testing and research, our lead plugin developer discovered a way to make dynamic background videos work directly within the builder, eliminating the need for those old workarounds.

Enable Dynamic Divi Background Videos

The background video feature is included in Divi Dynamic Content Helper. This plugin extends Divi’s dynamic content and custom field capabilities and adds support for using dynamic sources in places where Divi normally does not support them.

divi assistant logo png 256

Enable Background Videos In Divi 5

Use our Divi Dynamic Content Helper to load external videos dynamically from custom fields in section backgrounds.

Enable Background Videos In Divi 5

After installing the Divi Dynamic Content Helper plugin, go to the WordPress dashboard to Pee-Aye Creative > Divi Dynamic Content Helper > Background Videos. Enable the main setting to activate dynamic background videos.

Once enabled, Divi adds dynamic content support directly to the background video controls in supported areas of the builder.

enable external background videos in divi 5 using the divi dynamic content helper plugin by pee aye creative

Supported Video Sources

Dynamic background videos are not limited to video files stored in WordPress. You can use YouTube videos, Vimeo videos, MP4 files stored in custom fields, supported oEmbed fields, and other external video sources. This makes it easy to work with video platforms and content workflows you may already be using.

Works With Divi’s Native Background Features

Dynamic background videos work with Divi’s existing background options, so you don’t have to give up any of the design tools you’re already familiar with. Background colors, gradients, images, patterns, masks, sizing options, and the Pause While Not In View setting all continue to work normally with dynamic video sources.

dynamic background video with an overlay gradient color using the divi dynamic content helper plugin by pee aye creative

This allows you to use external video sources while still taking advantage of Divi’s full background design system.

To clarify, dynamic background videos behave just like Divi’s native background videos. External sources such as YouTube automatically autoplay, start muted, and loop continuously, while adding the ability to use dynamic video sources from custom fields.

Prepare Your Video Source

Before using dynamic background videos, you first need a video source. Since video files are often much larger than images, this feature provides an alternative to uploading MP4 files directly into the WordPress media library and assigning them manually in Divi.

Instead, upload your video to your preferred platform and copy the link you want to use. For example, you may choose to host videos on Vimeo, use an unlisted YouTube video, upload MP4 files to your own CDN or media server, or use another supported video source. The important thing is having the final video source ready so it can be stored in a custom field.

Once you have the final video link ready, the next step is storing that value in a custom field so Divi can load it as the section background.

Add The Video Source To A Custom Field

Now that you have your video source ready, the next step is storing that video link in a custom field so Divi can access it dynamically.

For this tutorial, we’ll assume you are already familiar with creating and assigning custom fields, but you may still need to create a new field specifically for background videos. If you only need a simple solution, you can use native WordPress custom fields. Many users also choose tools like ACF, Pods, or ACPT to organize fields into groups and make them easier to manage.

Create a field group if needed and add a field for the video source. Then assign that field to the page, post, or content type where you want to use the background video.

Once the field is available, add your video source and save. Depending on your setup, this may be a YouTube URL, Vimeo URL, MP4 file URL, oEmbed field value, or another supported video source.

Connect The Custom Field To The Background Video

Once your video source has been added to the custom field, open the Divi Builder and edit the section where you want to display the background video.

Open the Content > Background and hover over the video tab to reveal the dynamic content icon.

connect a custom field to the background video using the divi dynamic content helper plugin by pee aye creative

Select the icon to open the dynamic content popup, then choose the custom field that contains your video source. The dynamic content icon appears when hovering over the Video tab, just like other supported dynamic fields in Divi.

open dynamic content with the divi dynamic content helper plugin by pee aye creative
select the background video dynamic content source using the divi dynamic content helper plugin by pee aye creative
After saving, Divi will load the video dynamically and display it as the section background. Instead of uploading an MP4 to the WordPress media library and selecting it directly in Divi, the background video is now controlled by the value stored in your custom field.
add a background video using dynamic content with the divi dynamic content helper plugin by pee aye creative
That’s all there is to it. You can even update the video later simply by changing the video URL in the custom field without touching the layout itself.

Dynamic background videos have been one of those Divi requests that felt impossible for years. Thanks to Divi 5 and Divi Dynamic Content Helper, you can now use external video sources, custom fields, and dynamic content together in a workflow that feels completely natural inside the builder. Better yet, the feature works naturally with Divi’s existing background settings, making it feel like it has always been part of the builder.

Last updated August 6, 2026

Subscribe For More Divi News & Resources!

At the start of each month, we send out a recap newsletter from the month before with family news, Divi news, our latest tutorials, product news, and a look behind the scenes. Occasionally, if the news is too exciting to wait, we will send out another email separate from the monthly newsletter. That’s what you get when you subscribe, and of course, you can unsubscribe if you are no longer interested!

Blog Post Optin
divi 5 logo

Shop Our Divi Plugins

Featured Products

Asset 4

New! Trail Guides

Follow a series of blog posts carefully arranged around a specific topic or goal! Keep track of your progress by marking posts completed, just like a free course!

View Trail Guides

Divi Tutorials On YouTube

Our videos have views! Join subscribers and enjoy over video tutorials!

Visit Our Channel

Leave A Response!

By commenting you agree to our Blog & YouTube Comments Policy

8 Comments

Comments By Members

These comments are highlighted because they were posted by fans who have a membership on this site.

  1. Gary Gordon <span class="comment-author-role-label"><a href="https://www.peeayecreative.com/product/divi-adventure-club/" class="comment-author-role-link" rel="external nofollow" target="_blank">Divi Adventure Club Member</a></span>

    Nelson, I’m noticing an issue. When I followed along, and clicked on the video choice, and went to the “Background Video MP4” I’m not seeing the “dynamic” option. (see my screenshot). But I do see the dynamic option for Background Color, Background Gradient, and Background Image. I’m not seeing it when I select Background Video.

    See: (Screenshot) https://app.screencast.com/sDJwh1ARIQ4h6 and (Screenshot) https://app.screencast.com/L4ACJE7Lpy8WD

    Do you have any idea why? (I’m using Divi v5.9.0, Divi Dynamic Content Helper v2.3, and Advanced Custom Fields v6.8.6 and WordPress v7.0.2)

    Reply
    • Nelson Miller <span class="comment-author-role-label author-label">Author</span>

      Hi Gary,
      Can you clarify if the setting is enabled in the backend plugin settings? I think I may have missed that in the video in my excitement, but I do have in the blog post though.

      Reply

Comments By Others

  1. Adam

    well, I read the article and watched the video, and it never mentions the:

    – Autoplay

    – Mute

    – Loop

    for youtube, what about it?

    Reply
    • Nelson Miller <span class="comment-author-role-label author-label">Author</span>

      Hi Adam,
      You’re right, I should have made that explicit. Our feature works the same way as Divi’s native background videos, so YouTube videos autoplay, are muted, and loop automatically just like videos uploaded to the WordPress Media Library. The new functionality our feature adds is the ability to use dynamic external video sources such as YouTube and Vimeo. Sorry for the confusion, and thanks for pointing it out.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Recent Posts

Last updated August 6, 2026
Shopping cart0
There are no products in the cart!
You may be interested in…
Divi Builder Experience Helper Plugin by Pee-Aye Creative
From: $36.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi assistant plugin by pee aye creative
From: $69.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Divi Carousel Maker Plugin by Pee Aye Creative
From: $29.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Logo for D Beginner Course with graduation cap
From: $47.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

divi events calendar
From: $54.00 / year

Select options This product has multiple variants. The options may be chosen on the product page

Continue shopping
0