diff --git a/src/VideoPlayer.tsx b/src/VideoPlayer.tsx index ff47868..4a4cc1e 100644 --- a/src/VideoPlayer.tsx +++ b/src/VideoPlayer.tsx @@ -387,57 +387,60 @@ export const VideoPlayer = (props: VideoPlayerProps) => { style={[_styles.player.video, styles.videoStyle]} source={source} /> - loading ? : - <> - - - - videoRef?.current?.seek(currentTime - rewindTime) - } - onPressForward={() => - videoRef?.current?.seek(currentTime + rewindTime) - } - /> - - + {loading ? ( + + ) : ( + <> + + + + videoRef?.current?.seek(currentTime - rewindTime) + } + onPressForward={() => + videoRef?.current?.seek(currentTime + rewindTime) + } + /> + + + )} );