Update video on mobile

This commit is contained in:
danidfra 2024-11-01 11:58:59 -03:00
parent 5d94eb80fa
commit 9637528a54
1 changed files with 1 additions and 1 deletions

View File

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