I have a div as a container for a video element, I want the video element to fill the entire container, to do this I set the background color of the div to black and the height and width of the video to 100%. I am still seeing black, how do I get the video to fill the entire container? It fills the entire width, but not the height.
#videoContainer{
width: 600px;
height: 600px;
background-color: black;
}
#video{
width: 100%;
height: 100%;
}
<div id ="videoContainer">
<video id="video">
<source src="https://www.w3schools.com/tags/movie.mp4" type="video/mp4">
</video>
</div>