Skip to content

Commit fcf27f0

Browse files
authored
[Video] content fit cover on native (#5140)
1 parent e8eaf2f commit fcf27f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/view/com/util/post-embeds/VideoEmbed.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function VideoEmbed({embed}: {embed: AppBskyEmbedVideo.View}) {
8484
source={{uri: embed.thumbnail}}
8585
alt={embed.alt}
8686
style={a.flex_1}
87-
contentFit="contain"
87+
contentFit="cover"
8888
accessibilityIgnoresInvertColors
8989
/>
9090
<Button

src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export function VideoEmbedInnerNative({
4949
ref={ref}
5050
player={player}
5151
style={[a.flex_1, a.rounded_sm]}
52-
contentFit="contain"
52+
contentFit="cover"
5353
nativeControls={isFullscreen}
5454
accessibilityIgnoresInvertColors
5555
onEnterFullscreen={() => {

0 commit comments

Comments
 (0)