Skip to content

Commit

Permalink
[Video] content fit cover on native (#5140)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Sep 4, 2024
1 parent e8eaf2f commit fcf27f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/view/com/util/post-embeds/VideoEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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={() => {
Expand Down

0 comments on commit fcf27f0

Please sign in to comment.