Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Commit

Permalink
regression: See video in full size
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed May 15, 2022
1 parent 57bb00c commit 57b2ada
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/src/components/uis/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ const VideoPlayer: FC<Props> = ({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')}));
}}
Expand Down

0 comments on commit 57b2ada

Please sign in to comment.