I am looking to create a fullscreen video for my webpage. I originally used an image as a cover, but now I want to switch to using a video. You can check out my old code on this link.
Below is my new video code:
<div class="embed-responsive embed-responsive-16by9">
<video controls poster="http://www.webestools.com/page/media/videoTag/BigBuckBunny.png">
<source src="http://www.webestools.com/page/media/videoTag/BigBuckBunny.mp4" type="video/mp4">
</video>
</div>
<div id="body2">lorem ipusm dolor sue lorem ipusm dolor sue lorem ipusm dolor sue lorem ipusm dolor sue lorem ipusm dolor sue lorem ipusm dolor sue</div>
I just need to update the image with a video. However, as shown in the fiddle, the ID "test" fits the screen perfectly while the video I want to use does not. It is neither fitting the screen nor responsive. How can I make the video fullscreen, fit-to-screen, and responsive?
You can see the desired result with a video on this CodePen link. The height of the video still exceeds the screen size.