kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Update video on mobile
rodzic
5d94eb80fa
commit
9637528a54
|
@ -469,7 +469,7 @@ const Video: React.FC<IVideo> = ({
|
|||
};
|
||||
|
||||
const handleTogglePlay = () => {
|
||||
if (!isMobile) togglePlay();
|
||||
if (!isMobile || paused || hovered) togglePlay();
|
||||
};
|
||||
|
||||
const progress = (currentTime / duration) * 100;
|
||||
|
|
Ładowanie…
Reference in New Issue