Site logo

Archived topic

background video in Elements

4 replies · Started by ivar on April 21, 2019

Viewing posts 1–5 of 5

With this question has understood... But there are others-why does the video have an extra white background? I looked through all the settings - nothing found...

Hi there,

i am not seeing the video overlapping the buttons or title? Is this in any particular browser?

This CSS:

.background-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

The opacity property lets the background color show through. If you don't want it to then remove that property or set it to opacity: 1;

I notice that the the first second of the video is also 'empty' so when it first plays there is no video image and therefore you see the body background color.

The opacity property lets the background color show through. If you don’t want it to then remove that property or set it to opacity: 1;

That's where the reason for the background overlay on the video! Thank you!

Awesome :) Glad to be of help.

This archived topic is closed to new replies.