diff --git a/lerobot/html_dataset_visualizer/src/components/videos-player.tsx b/lerobot/html_dataset_visualizer/src/components/videos-player.tsx index 69c31b137..ddc1f3187 100644 --- a/lerobot/html_dataset_visualizer/src/components/videos-player.tsx +++ b/lerobot/html_dataset_visualizer/src/components/videos-player.tsx @@ -171,7 +171,7 @@ export const VideosPlayer = ({ } } }; - + videoRefs.current.forEach((video) => { if (video) { // If already ready, call the handler immediately @@ -182,7 +182,7 @@ export const VideosPlayer = ({ } } }); - + return () => { videoRefs.current.forEach((video) => { if (video) { @@ -191,7 +191,7 @@ export const VideosPlayer = ({ }); }; }, []); - + return ( <> {/* Error message */}