diff --git a/src/components/video/poster.astro b/src/components/video/poster.astro index 613fcf3..377b3aa 100644 --- a/src/components/video/poster.astro +++ b/src/components/video/poster.astro @@ -54,7 +54,7 @@ function makeImgAttributes ( src ) { { ...makeImgAttributes( images.imgSrc ) } alt={ video.name } class={ [ - 'absolute inset-0 h-full w-full object-cover', + 'absolute inset-0 h-full w-full aspect-video object-cover', loading === 'lazy' ? 'lazyload' : '' ].join(' ') } width="1600"