This commit is contained in:
xmflsct 2022-08-14 22:38:57 +02:00
parent 42528caf09
commit d0becef5bf
1 changed files with 1 additions and 1 deletions

View File

@ -99,6 +99,7 @@ const AttachmentVideo: React.FC<Props> = ({
opacity: sensitiveShown ? 0 : 1
}}
usePoster
resizeMode={ResizeMode.COVER}
{...(gifv
? {
shouldPlay: true,
@ -107,7 +108,6 @@ const AttachmentVideo: React.FC<Props> = ({
source: { uri: video.url }
}
: {
resizeMode: ResizeMode.COVER,
posterSource: { uri: video.preview_url },
posterStyle: { resizeMode: ResizeMode.COVER }
})}