Closed bilal-prog closed 1 year ago
<ApiVideoPlayer ref={ref} autoplay videoId={currentVideo?.videoId} onPlay={() => setIsPlaying(true)} onPause={() => setIsPlaying(false)} onError={e => console.log('video e', e)} />
coding mistake
<ApiVideoPlayer ref={ref} autoplay videoId={currentVideo?.videoId} onPlay={() => setIsPlaying(true)} onPause={() => setIsPlaying(false)} onError={e => console.log('video e', e)} />