Skip to content

Commit

Permalink
[front] Fix dropping video
Browse files Browse the repository at this point in the history
  • Loading branch information
Kogepan229 committed Apr 13, 2024
1 parent 7eab7e6 commit fb54fc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions next_app/src/components/VideoPlayer/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ const VideoPlayer = (props: Props) => {
if (typeof window !== 'undefined' && browserName(window.navigator.userAgent) !== 'ios') {
return (
<>
<video {...p2} className={css.video} ref={props.videoRef} controls={false}></video>
<VideoControl videoRef={props.videoRef} videoContainerRef={videoContainerRef}></VideoControl>
<video {...p2} className={css.video} ref={props.videoRef} controls={false}>
<VideoControl videoRef={props.videoRef} videoContainerRef={videoContainerRef}></VideoControl>
</video>
</>
)
} else {
Expand Down

0 comments on commit fb54fc2

Please sign in to comment.