diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-09-04 19:56:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 19:56:02 +0100 |
commit | fcf27f05127d6e59f66ba0af745179e4b6653f77 (patch) | |
tree | 61a4e54235b347b88985c86916e7e783c31775b8 | |
parent | e8eaf2f4a72f9c2c45299637425ebc299079caf0 (diff) | |
download | voidsky-fcf27f05127d6e59f66ba0af745179e4b6653f77.tar.zst |
[Video] content fit cover on native (#5140)
-rw-r--r-- | src/view/com/util/post-embeds/VideoEmbed.tsx | 2 | ||||
-rw-r--r-- | src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/post-embeds/VideoEmbed.tsx b/src/view/com/util/post-embeds/VideoEmbed.tsx index d8410951a..a5bc97f85 100644 --- a/src/view/com/util/post-embeds/VideoEmbed.tsx +++ b/src/view/com/util/post-embeds/VideoEmbed.tsx @@ -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 diff --git a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx index ad844b93d..4fafce1de 100644 --- a/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx +++ b/src/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative.tsx @@ -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={() => { |