[Video] content fit cover on native (#5140)
This commit is contained in:
@@ -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={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user