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

This commit is contained in:
Samuel Newman
2024-09-04 19:56:02 +01:00
committed by GitHub
parent e8eaf2f4a7
commit fcf27f0512
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ export function VideoEmbed({embed}: {embed: AppBskyEmbedVideo.View}) {
source={{uri: embed.thumbnail}} source={{uri: embed.thumbnail}}
alt={embed.alt} alt={embed.alt}
style={a.flex_1} style={a.flex_1}
contentFit="contain" contentFit="cover"
accessibilityIgnoresInvertColors accessibilityIgnoresInvertColors
/> />
<Button <Button
@@ -49,7 +49,7 @@ export function VideoEmbedInnerNative({
ref={ref} ref={ref}
player={player} player={player}
style={[a.flex_1, a.rounded_sm]} style={[a.flex_1, a.rounded_sm]}
contentFit="contain" contentFit="cover"
nativeControls={isFullscreen} nativeControls={isFullscreen}
accessibilityIgnoresInvertColors accessibilityIgnoresInvertColors
onEnterFullscreen={() => { onEnterFullscreen={() => {