Skip to content

Commit 641c78b

Browse files
refactor: change resize mode to contain for video
1 parent e4049a4 commit 641c78b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const AnimatedGalleryVideo: React.FC<Props> = React.memo(
183183
onPlaybackStatusUpdate={onPlayBackStatusUpdate}
184184
onProgress={onProgress}
185185
paused={paused}
186-
resizeMode='cover'
186+
resizeMode='contain'
187187
style={style}
188188
uri={source.uri}
189189
videoRef={videoRef}

0 commit comments

Comments
 (0)