[Video] content fit cover on native (#5140)

zio/stable
Samuel Newman 2024-09-04 19:56:02 +01:00 committed by GitHub
parent e8eaf2f4a7
commit fcf27f0512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ export function VideoEmbed({embed}: {embed: AppBskyEmbedVideo.View}) {
source={{uri: embed.thumbnail}}
alt={embed.alt}
style={a.flex_1}
contentFit="contain"
contentFit="cover"
accessibilityIgnoresInvertColors
/>
<Button

View File

@ -49,7 +49,7 @@ export function VideoEmbedInnerNative({
ref={ref}
player={player}
style={[a.flex_1, a.rounded_sm]}
contentFit="contain"
contentFit="cover"
nativeControls={isFullscreen}
accessibilityIgnoresInvertColors
onEnterFullscreen={() => {