Skip to main content
The Divi Video Module

How to add, configure and customize the Divi video module.

Updated over 7 months ago

The Divi Video Module is an easy way to display videos anywhere on your website. Videos can be uploaded directly to your website via the WordPress media library or imported by a URL if your video is hosted on a 3rd party website like YouTube or Vimeo. The Video Module is useful anywhere you need a video on your site.

How to Add the Divi Video Module to Your Page

  1. Add a new page or edit an existing page.
    By default, the Standard Gutenberg Editor loads whenever a new post or page is added to WordPress.

  2. Click the purple button underneath the page title. Use The Divi Builder.

Add a page and load the Visual Builder

Once clicked, the page will be reloaded with the Divi Visual Builder.

As your page reloads, you'll notice three options:

  • Build From Scratch

  • Choose A Premade Layout

  • Build with AI

Build From Scratch

This option loads the Divi Builder with a blank page design. Choose this option if you'd like to start your page design from Scratch.

Choose a Premade Layout

This option lets you choose from our large library of pre-designed Divi layouts. You can choose from premade layouts by Divi, which you've designed and saved to your Divi Library, and existing pages on your website that you can clone.

Build with AI

This option allows you to create an entire page layout using Divi AI. Using your text prompt and information about your website, you can create the perfect page outline, then build it and fill it with content and imagery, bringing it all to life in no time.

Divi Page Flow

Add the Divi Video Module

  1. Click the green + icon to insert a Row.

  2. Click the gray + icon inside the Row to open the Divi Module Library, which contains all the modules included with the Divi theme.

  3. Find the Video module and click on it to load the module.
    The module library is also searchable. Type the module name you want in the search bar at the top.

Add the Video module

All Divi Video Module Options Explained

Once you’ve added the Divi Video Module, the module settings automatically pop up. This is where this module's content and design styles are configured. These settings are organized into three groups via the tabs at the top of the module: Content, Design, and Advanced.

All Divi Video Module Options Explained

Content Tab

Inside this tab, you’ll find the content options available for the Divi Video Module.

Divi Video Module Content Tab settings

Video

  • Video Mp4 File or YouTube URL - Allows you to set either a self-hosted video (uploaded to WordPress Media Library), a YouTube video URL or a Vimeo video URL

  • Video WebM File - In the case of a self-hosted video, the webm version should also be uploaded to ensure the video is displayed correctly on all browsers.

How To Add A Video To The Divi Video Module

There are two ways to add videos to this module:

  1. By uploading them directly to your website or by inserting a video from a URL.

  2. By inserting a YouTube or Vimeo video URL.

Note: If you are uploading a video to your website, we recommend uploading both WebM and MP4 formats. WebM files have smaller file sizes (saving your server space) and better compression.

However, a few browsers and devices don’t support WebM, so uploading an MP4 file ensures your video will play on all browsers and devices.

A demo video is automatically added to the video slider when the module is first loaded. To replace the demo video, hover over the demo video and click the trash can icon. This will remove the video.

Once the demo video was removed, follow the following steps to add your video:

  1. Click Add Video. This will bring up your WordPress media library, where you can browse from already uploaded videos, upload a new one, or insert from a URL.

  2. Select the video you want,

  3. Click the Upload Video button in the bottom right corner of the media library window.

  4. To use a video hosted on another website (like YouTube or Vimeo, copy the URL of that video and go to your WordPress media library. On the lefthand sidebar, click Insert from URL.

  5. Paste the URL to your video in the textbox. Then click the Insert Into Post button in the bottom right corner of the media library window.

Divi Video Module adding video files/embeds

Overlay

  • Overlay Image - Select an overlay for your video. You can choose an image from your media library, upload a new image, or click Generate From Video, which will automatically use the video's thumbnail as the overlay.

Note: Generate from Video option only works for YouTube or Vimeo videos. An image from the Media Library can be used instead for self-hosted videos.

Divi Video Module setting the Overlay

Background

Important Note: For the Video Module the Background option group is not available.

Admin Label

The Admin Label is where you can give the module a name only visible to you to assist in keeping things organized and easy to understand on the back end. By default, the admin label will be the name of the module. You can change the text of the admin label to reflect what you’d like.

Divi Video Module Admin Label settings

Design Tab

You’ll find all the design styles and options for the Divi Video Module in this tab.

Divi Video Module Design Tab settings

Play Icon

  • Play Icon Color - Pick a color of the play icon. Select a color from your default site color palette, or click the eyedropper icon to find a new color.

  • Use Custom Icon Size - If you’d like a custom font size for the play icon, you can set that here. Toggle this option to yes and select the size you'd like using the range slider or typing in a numerical value.

Overlay

  • Overlay Background Color - Choose a color for the background of the play icon that you want to display on hover. Select a color from your default site color palette, or click the eyedropper icon to find a new color.

Divi Video Module Overlay settings

Sizing

  • Width - Defines the width of the module. For more information, please check out the official documentation.

  • Max Width - Defines the maximum width of the module. For more information, please check out the official documentation.

  • Module Alignment - If a Width or a Max Width value is set, the module alignment can be set using the three options:

    • Left Aligned

    • Center Aligned

    • Right Aligned

  • Min Height - Defines the minimum value for the module's height. For more information, please check out the official documentation.

  • Height - Define the height of the module. For more information, please check out the official documentation.

  • Max Height - Defines the maximum height value the module can have. For more information, please check out the official documentation.

Divi Video Module Sizing settings

Spacing

You can add margins or spacing to this module by typing numerical values.

Margin adds space outside the module, and padding adds space inside the module. To lock in ratios and keep the values the same, click the chainlink icon between the values you want to always be identical (ex, top and bottom).

  • Default margin values for the module are 0.

  • Default padding values for the module are 0.

Divi Video Module Spacing settings

Border

Add a border to the module. You can add a complete border or a border to only one side of the module. Adjust the width via the range slider and select a color. Choose a border style by clicking the dropdown.

  • Rounded Corners – Type in a numerical value for round border corners. The higher the number, the rounder the corners will be. The corner values are automatically linked (as seen by the highlighted blue chainlink in the middle); however, if you’d like to have different values for each corner, click the blue chainlink to unlink the values. If the values are automatically linked, they will always have the same value and update automatically if one value is changed.

  • Border Styles – Add a border to all sides of the module or individual sides (top, right, bottom, and left).

  • Border Width - Set the width of the border. For a thicker border, increase the number. The border width must be at least 1px to show.

  • Border Color – Choose the color of the border. You can select a color from your default site color palette that is already displayed or click on the eyedropper icon to find a new color.

  • Border Style – Select what border style you’d like: solid, dashed, dotted, double, groove, ridge, inset, outset, or none.

Divi Video Module Border settings

Box Shadow

Add a drop shadow to the entire module. Once a shadow style is clicked, you can customize the following options:

  • Box Shadow Horizontal Position - Defines the horizontal position of the drop shadow.

  • Box Shadow Vertical Position - Defines the vertical position of the drop shadow.

  • Box Shadow Blur Strength - Defines the strength of the shadow's blur. The higher the value, the bigger the blur and the wider and lighter the shadow becomes.

  • Box Shadow Spread Strength - Defines the spread strength of the blur. Increasing the spread strength will increase the density of the box shadow. Higher density results in a more intense shadow.

  • Shadow Color - Defines the shadow's color.

  • Box Shadow Position - Defines the shadow's position. It can be inside the module or outside the module.

Divi Video Module Box Shadow settings

Filters

Adjust the module's filters:

  • Hue - Defines the hue angle of a color.

  • Saturation- Defines how intense the color saturation should be.

  • Brightness - Defines how bright the colors should be.

  • Contrast - Defines how distinct bright and dark areas should be.

  • Invert - Invert the hue, saturation, and brightness by the specified value.

  • Sepia - Defines a warmer, more yellow/brown appearance.

  • Opacity - Defines how transparent or opaque the background (color, gradient, image, etc.) should be.

  • Blur - Defines the amount of Gaussian Blur applied to the module.

The Blend Mode refers to how the module blends with the layers beneath it. By default, normal will be selected.

Divi Video Module Filters settings

Transform

  • Scale

  • Translate

  • Rotate

  • Skew

  • Origin points

Tab through to access each option. Configure each option by inputting numerical values or dragging and expanding the box or circle.

You can lock in these values to always be identical by clicking the chain link icon at the bottom right.

Divi Video Module Transform settings

Animation

Here, you can apply animation to the module. Once you choose a style, you can adjust the following options:

  • Animation Duration - Defines the length of time that an animation takes to complete one cycle.

  • Animation Delay - Define the amount of time to wait from applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through the animation.

  • Animation Starting Opacity - Define the starting opacity value.

  • Animation Speed Curve - Define the easing method of your animation. Easing your animation in and out will create a smoother effect than a linear speed curve.

  • Animation Repeat - By default, animations will only play once. If you want to loop your animation continuously, choose the Loop option here.

Divi Video Module Animation settings

Advanced Tab

Within the Advanced tab, you will find options that more experienced web designers might find useful, such as custom CSS.

Here, you can apply custom CSS to your module. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module's styles with more advanced CSS properties or to apply custom CSS code using the module's CSS class.

Divi Video Module Advanced Tab settings

CSS ID & Classes

Assign a specific CSS ID or Class to this module. This is helpful when applying custom CSS to a module by using your child theme's stylesheet.

Divi Video Module CSS ID and Classes settings

Custom CSS

  • Free-Form CSS - Write free-form CSS using the keyword selector to target this module. Example: selector h1 {color: red;}

  • Module Elements - You can also apply custom CSS to this module by pasting it in this tab. When you click on the Module Elements tab, you'll see individual sections where you can add custom CSS properties.

Divi Video Module Custom CSS settings

Conditions

The Display Conditions allow you to choose when to display this module based on a set of conditions, like when a user is visiting the page if they've already purchased from your company before, what browser they are using, what operating system they're using, and more.

You can add one condition or multiple conditions.

Divi Video Module Display Conditions settings

Visibility

  • Disable on - Defines the visibility of the module. You can disable it (hide it from view) when the display window is a Phone, Tablet, or Desktop by clicking the corresponding checkbox.

  • Horizontal Overflow - Defines what shows when content overflows a block-level element's left and right edges. This may be:

    • Visible - The content will show if the module's content overflows its height.

    • Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.

    • Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.

    • Auto - The browser will decide whether a scroll bar will be shown.

  • Vertical Overflow - Defines what shows when content overflows a block-level element's top and bottom edges. This may be:

    • Visible - The content will show if the module's content overflows its height.

    • Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.

    • Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.

    • Auto - The browser will decide whether a scroll bar will be shown.

Divi Video Module Visibility settings

Transitions

This controls the hover animation's transition duration, delay, and speed curve.

  • Transition Duration - Defines the duration (in milliseconds) of the transition of the hover animation.

  • Transition Delay - Defines the transition delay of the hover animation (in milliseconds).

  • Transition Speed Curve - Defines the transition speed curve of the hover animation.

Divi Video Module Transitions settings

Position

  • Position - This defines the position of the module:

    • Relative (default value) - The module is positioned according to the normal flow of the document, and then offset values are relative to itself based on the values of Vertical Offset and Horizontal Offset. The offset does not affect the position of any other elements; thus, the space given for the module in the page layout is the same as if the position were default (static).

    • Absolute - The module is removed from the normal document flow, and no space is created for the element in the page layout. The module is positioned relative to its closest positioned ancestor (if any) or the initial containing block. The Location options determine its final position

    • Fixed - The element is removed from the normal document flow, and no space is created for the element in the page layout. The module is positioned based on the location options in relation to the browser window. This can be used to create a sticky module.

  • Vertical Offset - Defines the module's vertical position.

  • Horizontal Offset - Defines the module's horizontal position.

  • Z-index - Defines the order of the module in the page layout. Modules with a higher z-index number overlap modules with a lower z-index.

Divi Video Module Position settings

Scroll Effects

This section defines the module's behavior when the user scrolls the page. You can make the module sticky to the top, bottom, or both and decide if the module should transform as the user scrolls.

Additionally, you can enable vertical motion on this module, which allows you to adjust the scrolling speed of the element without affecting the surrounding elements.

The Motion Trigger Effect feature lets you choose when the scroll effect you just applied is triggered. You can trigger the effect when the element's top, middle, or bottom is in view.

Divi Video Module Scroll Effects settings

Save Your Design

Once you are finished styling and configuring the number counter module, click the green arrow at the bottom right of the module to save your design. If you close the module without saving, your work will be lost.

Next, Save the Page Design

To save the page design, you can type CMD + S on a Mac or CTRL + S on a PC. You can also use the bottom Divi toolbar to save your page design by clicking the circle purple icon with the three dots to expand the toolbar and then clicking the green Save button at the bottom right.

Exit the Visual Builder

Now that all your changes are saved click Exit Visual Builder on the admin toolbar at the top to exit the Visual Builder.

Save and Exit the Visual Builder

Continue Learning

Did this answer your question?