mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Use video aspect ratio on posters
This commit is contained in:
parent
7bc7a4b429
commit
08bde562b0
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ function makeImgAttributes ( src ) {
|
||||||
{ ...makeImgAttributes( images.imgSrc ) }
|
{ ...makeImgAttributes( images.imgSrc ) }
|
||||||
alt={ video.name }
|
alt={ video.name }
|
||||||
class={ [
|
class={ [
|
||||||
'absolute inset-0 h-full w-full object-cover',
|
'absolute inset-0 h-full w-full aspect-video object-cover',
|
||||||
loading === 'lazy' ? 'lazyload' : ''
|
loading === 'lazy' ? 'lazyload' : ''
|
||||||
].join(' ') }
|
].join(' ') }
|
||||||
width="1600"
|
width="1600"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue