[Support request] Background Video and Back up Image

Home Forums Support [Support request] Background Video and Back up Image

Home Forums Support Background Video and Back up Image

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #467524
    David

    I’m using Generate Press Page Headers for a background video in the header on the homepage of nvosystems.com. As the page loads, it’s (about 95% of the time) quickly flashing the back up image i’ve set for mobile before playing the video. This creates a sort of glitchy experience upon first arriving at the website. Is there a way to circumvent this?

    Here is a video of it happening: https://www.dropbox.com/s/8vnu2g6ijfijrgq/homepage_video.mov?dl=0

    #467777
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Would you prefer a solid background color?

    #472541
    David

    Hi : )

    Is that my only option? and would that mean I would have to replace the mobile image with a solid color?

    Thank you ๐Ÿ™‚

    Dexter

    #472880
    Tom
    Lead Developer
    Lead Developer

    Something needs to show in the video element while it loads, whether it’s an image or a solid color. You should be able to set a solid color on desktop only with some CSS.

    Let me know ๐Ÿ™‚

    #477402
    David

    Yes, I would love that!

    #477668
    Tom
    Lead Developer
    Lead Developer

    Give this a shot:

    @media (min-width: 769px) {
        .generate-page-header-video {
            background-image: none !important;
        }
    }
    #478226
    David

    that did it, thank you! anyway to make it black?

    #478335
    Leo
    Staff
    Customer Support

    Can you try:

    @media (min-width: 769px) {
        .generate-page-header-video {
            background-image: none !important;
            background-color: #000 !important;
        }
    }
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.