From 505fd803d518cc25819863c73e9756c0fa553dda Mon Sep 17 00:00:00 2001 From: Rakov Roman Date: Thu, 29 Sep 2022 18:30:19 +0300 Subject: [PATCH] fix(#2542): added chekc for ios --- src/features/VideoPlayer/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/features/VideoPlayer/index.tsx b/src/features/VideoPlayer/index.tsx index ce491b32..29b72e8d 100644 --- a/src/features/VideoPlayer/index.tsx +++ b/src/features/VideoPlayer/index.tsx @@ -1,5 +1,7 @@ import { forwardRef } from 'react' +import { isIOS } from 'config/userAgent' + import type { Props } from './hooks' import { useVideoPlayer } from './hooks' import { Video } from './styled' @@ -40,7 +42,7 @@ export const VideoPlayer = forwardRef((props: Props, re } = useVideoPlayer({ ...props, ref }) return (