I have an html file similar to the following. The wrapper div of the video tag has more height than necessary.
body {
  margin: 0 0 0 0;
  overflow: hidden;
}
div.small-wrapper {
  background-color: green;
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 100;
  max-height: 250px;
  max-width: 250px;
  overflow: hidden;
  outline: 1px solid red;
}
div#wrapperOne {
  background-color: #0c0c0c;
}
div.big-wrapper {
  background-color: grey;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 50;
}
#videoOne {
  /* Fit video*/
  width: 100%;
  height: 100%;
  outline: 1px solid cyan;
}<div class="small-wrapper">
  <div id="wrapperOne">
    <video id="videoOne" src="https://www.w3schools.com/html/mov_bbb.mp4" muted></video>
  </div>
</div>
<div class="big-wrapper">
</div>#wrapperOne is 250px by 141px but #videoOne is only 250px by 137.5px
The same styling in my application with 1280*720px video has 5px extra. The sample html I created has 3.5px extra.
I can' find from where does the extra height comes from. Any ideas?
 
     
     
    