I need assistance with aligning a video in the center of a fixed height cell while hiding the overflow at the top and bottom.
Here is what I have so far:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="150" style="display: block; overflow: hidden; vertical-align: middle;">
<div style="position: relative;">
<video autoplay loop width="100%" style="display: block;">
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
</video>
</div>
</td>
</tr>
</table>
However, the "vertical-align: middle;" in the "td" tag does not seem to be working as expected.
I want only the middle 150 pixels to be visible, but it currently shows the top 150...
If anyone can provide guidance, here is a link to my JSfiddle example: https://jsfiddle.net/xtxkm02a/1/
Thank you.