Hi there,
i tried to insert a video in the header of the index page on the website in the page hero section in elements.
i did everything like in the documention article:
HTML in page hero section:
and the CSS:
.background-video {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0.5;
}
.page-hero {
position: relative;
overflow: hidden;
}
.background-video-content {
position: relative;
z-index: 1;
}
video[poster] {
object-fit: cover;
width: 100%;
height: 100%;
}
but unfortunately it is not working … can you help, pls ?
Thank you