skip to Main Content

Hi I actually have a site built with divi builder, and I have integrated the background video, can anyone help as where to locate the file in divi builder and mute the video, as of now it is playing along with the sound.

2

Answers


  1. You can try this jQuery solution to mute the background video.
    Add this bellow code into theme option > integration > code integration > Add code to the < head > of your blog

    <script type="text/javascript">
     jQuery(document).ready(function(){
       jQuery(".et_pb_section_video_bg video").prop('muted', true); 
    });
    </script>
    

    Then let me know the result.

    Login or Signup to reply.
  2. Can try this jQuery code to mute the video:

    Also, add the CSS class "mutedvideo" on the video module.

     <script type="text/javascript">
     jQuery(document).ready(function(){
     jQuery(".mutedvideo").prop('muted', true); 
     });
     </script>
    

    Hope it works.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search