Responsive video embed
Keep the 16:9 shape at any width.
HTML · Responsive video embedIntermediate
<div style="aspect-ratio:16/9;max-width:720px">
<iframe src="https://www.youtube-nocookie.com/embed/VIDEO_ID" title="Video title" style="width:100%;height:100%;border:0" loading="lazy" allowfullscreen></iframe>
</div>iframeaspect-ratioresponsiveyoutube