Cara Embed Iframe Video Blogger Agar Responsive
by kompiajaib
HTML
<div class="video-responsive">
<iframe width="560" height="315" src="https://www.blogger.com/video.g?token=AD6v5dyaYv7fZTtrvJ7v-fHpJQCgNq9Bg2od0xJSnVZ1MdG8pHSx5gnWSa2BkFjaUM1B1TPEqrRtSmOpPmmDW6b7rvkF1i-NePb-Y-OmwvEsmoAvAXzc9qMenq7AXg36O1whN3Qcw8-h" frameborder="0" allowfullscreen="" allow="autoplay; encrypted-media"></iframe>
</div>
CSS
.video-responsive {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
margin:0;
width:100%
}
.video-responsive iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border:0;
}