Before an image loads, the browser doesn’t know its height, causing the layout to ‘jump’ (Cumulative Layout Shift – CLS). This is bad for SEO.
.video-container {
width: 100%;
aspect-ratio: 16 / 9;
background: #eee; /* Placeholder */
}
The Result: The browser reserves the space before the content arrives, resulting in a smooth, professional loading experience.
