diff --git a/components/video/Video.tsx b/components/video/Video.tsx index 87794792..9cc41ab9 100644 --- a/components/video/Video.tsx +++ b/components/video/Video.tsx @@ -26,6 +26,7 @@ interface VideoProps { containerStyles?: SxProps; setVideoStarted?: Dispatch>; setVideoFinished?: Dispatch>; + lightMode?: boolean; } const Video = (props: VideoProps) => { @@ -37,7 +38,9 @@ const Video = (props: VideoProps) => { containerStyles, setVideoStarted, setVideoFinished, + lightMode = true, } = props; + const [videoDuration, setVideoDuration] = useState(0); const [videoCompleted, setVideoCompleted] = useState(false); const [videoTimePlayed, setVideoTimePlayed] = useState(0); @@ -112,7 +115,7 @@ const Video = (props: VideoProps) => { setVideoDuration(duration)} onStart={videoStarted} onEnded={videoEnded}