mirror of https://github.com/tooot-app/app
Fixed #363
This commit is contained in:
parent
42528caf09
commit
d0becef5bf
|
@ -99,6 +99,7 @@ const AttachmentVideo: React.FC<Props> = ({
|
||||||
opacity: sensitiveShown ? 0 : 1
|
opacity: sensitiveShown ? 0 : 1
|
||||||
}}
|
}}
|
||||||
usePoster
|
usePoster
|
||||||
|
resizeMode={ResizeMode.COVER}
|
||||||
{...(gifv
|
{...(gifv
|
||||||
? {
|
? {
|
||||||
shouldPlay: true,
|
shouldPlay: true,
|
||||||
|
@ -107,7 +108,6 @@ const AttachmentVideo: React.FC<Props> = ({
|
||||||
source: { uri: video.url }
|
source: { uri: video.url }
|
||||||
}
|
}
|
||||||
: {
|
: {
|
||||||
resizeMode: ResizeMode.COVER,
|
|
||||||
posterSource: { uri: video.preview_url },
|
posterSource: { uri: video.preview_url },
|
||||||
posterStyle: { resizeMode: ResizeMode.COVER }
|
posterStyle: { resizeMode: ResizeMode.COVER }
|
||||||
})}
|
})}
|
||||||
|
|
Loading…
Reference in New Issue