Skip to main content
How to Enable Autoplay on Background Videos in Divi

Learn how to enable and customize autoplay options for background videos to enhance your website's visual appeal and user engagement.

Updated over 4 months ago

Integrating background videos into your website can greatly enhance its visual appeal and user engagement. One key feature to maximize the impact of these videos is the autoplay option, which ensures that your videos start playing automatically when a visitor lands on your page.

In this article, we'll guide you through the steps to enable and customize autoplay options for background videos on your site.

Whether you're looking to captivate visitors with stunning visuals or convey a message quickly, this guide will help you leverage autoplay effectively.

Notes:

  1. All modern mobile device browsers will block Videos from auto-playing without user interaction. Using the Background Video feature, you can have your videos automatically play even on mobile devices.

  2. In order for the video file to auto-play even on mobile devices, the video file will be automatically muted. This is required to avoid the auto-play feature being blocked by browsers on mobile devices.

While you can set a video file as the background video for each Divi element (Section, Row, Column, and Module), you might need to display a video file as a stand-alone module. In this case, Divi's Divider module comes in handy.

How to use the Divider module to display auto-playing videos

  1. In your page layout, where you want to display an auto-playing video, add the Divider module

  2. Open the Divider module's setting by clicking on the Gear icon

  3. In the Content tab → Visibility, set the Show Divider option to No

    Divi Module - Show Divider option

  4. In the Content tab → Background → Background Video upload both mp4 and webm video formats

  5. Set the Video's width value and Video's Height Value

    Divi Module - Video Background option

  6. in the Design tab → Spacing → Padding, set the top and bottom padding values. The value used will depend on your video's height. Ensure the values are expressed in %.

    Divi Module - Setting the Padding values
Did this answer your question?