diff --git a/front/packages/ui/src/player/components/right-buttons.tsx b/front/packages/ui/src/player/components/right-buttons.tsx index e64a7208..b5fa5146 100644 --- a/front/packages/ui/src/player/components/right-buttons.tsx +++ b/front/packages/ui/src/player/components/right-buttons.tsx @@ -65,7 +65,7 @@ export const RightButtons = ({ return ( - {subtitles && subtitles.length && ( + {subtitles && subtitles.length > 0 && ( void }, VideoProps>(function if (!ref.current) return; onLoad?.call(null, { duration: ref.current.duration } as any); }} - onProgress={() => { + onTimeUpdate={() => { if (!ref.current) return; onProgress?.call(null, { currentTime: ref.current.currentTime,