From 57b2adaf05850e96934ecddcf1ddb2680916cde4 Mon Sep 17 00:00:00 2001 From: hyochan Date: Sun, 15 May 2022 15:52:49 +0900 Subject: [PATCH] regression: See video in full size --- client/src/components/uis/VideoPlayer.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/uis/VideoPlayer.tsx b/client/src/components/uis/VideoPlayer.tsx index 7e303559..30c8bfbf 100644 --- a/client/src/components/uis/VideoPlayer.tsx +++ b/client/src/components/uis/VideoPlayer.tsx @@ -102,9 +102,11 @@ const VideoPlayer: FC = ({uri, setMediaError}) => { style={{ width: 240, height: 150, + justifyContent: 'center', + alignItems: 'center', }} useNativeControls - resizeMode={ResizeMode.COVER} + resizeMode={ResizeMode.CONTAIN} onError={() => { setMediaError(getString('FAILED_FETCH', {media: getString('VIDEO')})); }}