JSFiddle - React, Tailwind, and code Playground
HTML
<div class="top">
<div class="wrapper">
<iframe src="https://player.vimeo.com/video/236241664?title=0&byline=0&portrait=0&transparent=0&autoplay=1" width="640" height="480" frameborder="0" title="Funny Cat Videos For Kids" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" data-ready="true"></iframe>
</div>
</div>
CSS
.top {
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
position: relative;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.wrapper {
position: relative;
padding-bottom: 200%;
transform: translateY(-35.95%);
}