• Resolved kittykata

    (@kittykata)


    Hi, is it possible to make the video fill the screen? I have put it up on the background of the home page, although it is 60MB (so takes a little while to load) and no webm file yet, but I don’t want to do more work on it till I know it can fill the screen, it is currently showing a white band above and below, so I need it to fill and be fixed… is that possible? Is it because I’m using a custom front page?

    You can see it here byc-staging.europeaxess dot com

    Thanks 🙂

    https://ww.wp.xz.cn/plugins/video-background/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter kittykata

    (@kittykata)

    I have resolved this by changing all the plugin instances of position: absolute; to position: fixed; Not ideal… but will do until/if there is a better way 🙂

    Plugin Contributor blakedotvegas

    (@blakedotvegas)

    Hi kittykata,

    I see you found the solution. As of right now, the best solution is the add the following to your css stylesheet:

    .vidbg-container {
      position: fixed!important;
    }

    However, I should be pushing out an update within the next week to automatically resolve this when setting “body” as the container. I Will get in touch then to let you know of the update!

    Thanks for using the plugin!

    Plugin Contributor blakedotvegas

    (@blakedotvegas)

    Hi kittykata,

    I wanted to let you know that version 2.3.0 is now out and now you can have a fullscreen background by simply inputing “body” in the container field (without quotes).

    Have a great day!

    Thread Starter kittykata

    (@kittykata)

    Great! I’ve updated and it is perfect, thank you so much for your help 🙂

    Thread Starter kittykata

    (@kittykata)

    I know this is resolved… but I’m noticing that when I reduce the width of the browser, the gaps at the top and bottom are occurring again, causing the background image to show through… is it possible to achieve a “background-size: cover;” effect?

    Thread Starter kittykata

    (@kittykata)

    only way I can get this to happen is by changing the parent theme style.css

    /* =Responsive Videos
    ————————————————————– */
    video {
    width: 100%;
    max-width: 100%;
    height: auto;
    }

    to max-width: auto

    Again, not ideal to be changing the parent theme, but changing the child theme style.css to…

    /* =Responsive Videos
    ————————————————————– */
    video {
    width: 100%;
    max-width: auto!important;
    height: auto;
    }

    … didn’t work.

    Plugin Contributor blakedotvegas

    (@blakedotvegas)

    Hi, kittykata,

    Sometimes theme authors add max-width: 100%; for responsive purposes. If this is the issue, the following code should work:

    .vidbg-container video {
      max-width: auto !important;
    }

    Thanks for using the plugin!

    Plugin Contributor blakedotvegas

    (@blakedotvegas)

    Excuse me,

    The following code should work:

    .vidbg-container video {
      max-width: none !important;
    }
    Thread Starter kittykata

    (@kittykata)

    Yes that second one did the trick! Thanks again 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Fill Screen’ is closed to new replies.