mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -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 ) }
|
||||
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue