.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Original source: https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.p…This is a quick hack by Thierry Koblentz and presented on A List Apart in 2009: Creating Intrinsic Ratios for Video (www.alistapart.com/articles/creating-intrinsic-ratios-for-video/).
responsive
video