I have been attempting to create a responsive video iframe, but unfortunately, I am facing some difficulties in achieving this. So far, the iframe works fine without any background frame.
.embed-container {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
<div class='embed-container'>
<iframe src='https://www.youtube.com/embed/vkt0sUM9C54' frameborder='0' allowfullscreen></iframe>
</div>