Update video on mobile

fix-build-warnings
danidfra 2024-11-01 11:58:59 -03:00
rodzic 5d94eb80fa
commit 9637528a54
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -469,7 +469,7 @@ const Video: React.FC<IVideo> = ({
};
const handleTogglePlay = () => {
if (!isMobile) togglePlay();
if (!isMobile || paused || hovered) togglePlay();
};
const progress = (currentTime / duration) * 100;