это HTML в моем теле
этот код для видео, которое покрывает div с наложением сверху. Я мог бы использовать помощь, поскольку видео не появляется в Chrome. Я пытался использовать вебм. файл и огв, но это не работает.
любая помощь приветствуется.
<section>
<div class="jumbotron jumbotron-fluid" id="hero">
<div class="container">
<h3 class="hero-subtitle">Lorem Ipsum</h1>
<p class="hero-content">The main content goes here </p>
<br>
<h6 class="hero-excerpt">subtitle </h6>
</div>
</div>
</section>
css page
#hero {
min-height: 70vh;
background:
/* top, transparent red, faked with gradient */
linear-gradient(
rgba(0, 0, 0, 0.85),
rgba(0, 0, 0, 0.45)
),
/* bottom, image */
url('background_video.mp4');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
color: white;
.hero-subtitle {
font-size: 2rem;
font-weight: 300;
line-height: 1.2;
}
.hero-content{
font-size: 1.25rem;
font-weight: 300;
}
.hero-excerpt{
font-size: 1rem;
font-weight: 300;
}
}