Divi 5’s Dynamic Content button fills a module field from a custom field, but the Video module’s video fields don’t have that button. Divi Doctor adds it to the Video module and to each video in a Video Slider, so the video can come from a custom field, an ACF field or any other dynamic content Divi offers. This page covers how to set it up, what changes in the builder, and the limits.
Switch it on
- Go to Divi Doctor → Features.
- Under Video module, find the Video from a custom field card and click Enable.
The card’s Divi dynamic content row shows available when Divi 5’s dynamic content was found. Existing Video modules don’t change until you pick a dynamic value in one.
Take the video from a custom field
- Store the video’s address in a custom field of your posts: an MP4 file address, or a YouTube or Vimeo link.
- Open the page or template in the Visual Builder and open the Video module’s settings.
- In Content → Video, clear Video MP4 File Or Youtube URL.
- Click the field’s Dynamic Content button and choose Custom Field.
- In Select Custom Field, pick your field, or keep Enter Custom Meta Key and type the field’s name into Field Name.
- Save, clear any page cache, and open a post that has a video in that field, logged out.
For a WebM file, do the same in Video WEBM File. In a Video Slider, open the video in the slider and use the same two fields in its Content → Video.
The picker, saving and filling in the value are Divi’s own, so every source Divi’s Dynamic Content offers for a link works here too. In a Theme Builder template, Divi reads the field of the post being viewed, so each post plays its own video.
| Field | What the dynamic value should hold |
|---|---|
| Video MP4 File Or Youtube URL | An MP4 file address, or a YouTube or Vimeo link. |
| Video WEBM File | A WebM file address. |
What changes in the builder
While the feature is on, a YouTube or Vimeo link in these two fields shows as its address instead of a small video preview. Divi’s builder crashes when a field with a Dynamic Content button previews a YouTube or Vimeo video, so Divi Doctor shows the link there instead. MP4 and WebM files keep their small preview, and the builder canvas still shows the video.
How it works
Divi already replaces dynamic content in a module before it renders; its video fields just had no button for it. Divi Doctor only adds the button in the builder. On the live page, Divi puts the field’s address into the module and plays it as if you had typed it. Nothing from Divi Doctor runs on the live page.
Limits
- Divi 5 only.
- Clear the field before you pick a dynamic value. Otherwise Divi adds the value after the address that’s already there.
- Turning the feature off removes the button. Dynamic values you already saved keep working on the live page.
Questions
How do I use dynamic content in the Divi 5 Video module?
Switch on Video from a custom field in Divi Doctor → Features, under Video module; Divi’s video fields have no Dynamic Content button without it. In Content → Video, clear Video MP4 File Or Youtube URL, click its Dynamic Content button, choose Custom Field and pick your field. Save, clear any page cache and open a post that has a video in that field, logged out.
Can the Divi Video module play a YouTube link from an ACF field?
Yes. With Video from a custom field on, the video can come from a custom field, an ACF field or any other dynamic content Divi offers. The value can be an MP4 file address or a YouTube or Vimeo link. In a Theme Builder template, Divi reads the field of the post being viewed, so each post plays its own video.
Does the Divi Video Slider support dynamic video URLs?
Yes. Divi Doctor adds the Dynamic Content button to each video in a Video Slider too. Open the video in the slider and use Video MP4 File Or Youtube URL or Video WEBM File in its Content → Video, the same way as in the Video module. The WebM field’s dynamic value should hold a WebM file address.
Why does a YouTube link show as text instead of a preview in the Divi Video module settings?
Because Divi’s builder crashes when a field with a Dynamic Content button previews a YouTube or Vimeo video. While the feature is on, Divi Doctor shows the link’s address in these two fields instead. MP4 and WebM files keep their small preview, and the builder canvas still shows the video.
Do dynamic videos keep working if I turn off the Divi Doctor feature?
Yes. Turning the feature off removes the Dynamic Content button, but dynamic values you already saved keep working on the live page. Divi itself replaces dynamic content in a module before it renders. Divi Doctor only adds the button in the builder, and nothing from Divi Doctor runs on the live page.
If a video doesn’t play, check that the field holds a full address for the post you’re viewing. See also Features and bug fixes in the FAQ.