Is there a way to make a video fill the entire width and height of the browser on first page load using bootstrap? I am currently facing some issues with achieving this.
The code that I have been using seems to work, but the height ends up being more than 100% of the browser which is not ideal. I would like the video to be displayed at the top of the page so that users can scroll down to see the text underneath.
html, body {
height: 100%;
}
#homepage-video {
height: 100%;
width: 100%;
}
<div class="container-fluid">
<div class="row">
<video id="homepage-video" autoplay="true" loop="true" >
<source src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
type="video/mp4" />
Your browser does not support HTML5 videos.
</video>
</div>
</div>
<div class="container">
// Text in here....
</div>