JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://vjs.zencdn.net/5.8.8/video.js"></script>
<link rel="stylesheet" href="http://vjs.zencdn.net/5.8.8/video-js.css">
<div class="wrapper">
      <div class="content">
      <video id="video" src="http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4" />
      </div>
      <div class="footer">footer </div>
</div>

CSS

.wrapper {
  padding: 10px;
  display: flex;
  flex-direction: column;
  max-height: 300px;
  background-color: green;
}

.content {
  display: flex;
  width: 100%;
  background-color: red;
}

#video {
  display: flex;
  height: auto;
  width: 100%;
}

video {
 width: 100%;
}

.footer{
  width: 100%;
  background-color: orange;
}

JavaScript

videojs("video")