1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Background video not working on second time loading the homepage

Discussion in 'Free Divi Community Forum' started by Bere, Jun 20, 2023.

  1. Bere

    Bere New Member

    I added a background video on the homepage of my website. When I first open the page everything works fine but when I go to another page and return to the homepage the following errors occur:

    - In the desktop version appears a white frame on the left side. The video is scrolled to the right and is no longer displayed completely.
    - In the mobile version the video will not load until page scrolling begins a little.

    Hope someone can help me with this issue.

    I use the Divi theme in Wordpress.
     
    #1 Bere, Jun 20, 2023
    Last edited: Jun 20, 2023
    1. PRO MEMBER PERKS Divi Block Pro - Premade testimonial carousel design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Not sure if I can help you with that, but kindly share your URL.
     
  3. Bere

    Bere New Member

    1. PRO MEMBER PERKS Divi Ultimate Archive Plugin - Tons of elegant premade sidebar styles to choose from for your Divi site:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

  5. Bere

    Bere New Member

    Thank you very much for sending me the CSS Code, the video works now perfectly on the desktop version!

    However, there is a new issue that has surfaced in the mobile version. When I initially open the page, the video is displayed with a zoom effect, but as soon as I start scrolling, the video appears in the correct size.

    I appreciate your help!
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring unique comment design on single blog post page:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try to remove the previous CSS & replace with the below:
    Code:
    Log In or Sign Up to view this code.
     
  7. Bere

    Bere New Member

    The code has worked like magic and the video now works perfectly in both versions (desktop and mobile). Again thank you very much for the support.
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring unique comment design on single blog post page:View Demo
  8. Bere

    Bere New Member

    Hello again. I just realized that on the tablet the video has the same problem as before on the mobile version 'when I initially open the page, the video is displayed with a zoom effect, but as soon as I start scrolling, the video appears in the correct size'

    It is possible to change something on the code to make it work on all devices? Appreciate your support!
     
  9. Bere

    Bere New Member

    Hello, unfortunately the problem is back in the mobile version. This time the video doesn't play, you only see a black space and the play button in the middle of the screen.

    Here is my url https://trufitnessgym.de/startseite-build/ Could you check it and if possible explain me how to solve this issue?

    Thank you so much!
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo