kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge remote-tracking branch 'origin/main' into fix-media-galerry-warning
commit
19f91c72ec
|
@ -469,7 +469,7 @@ const Video: React.FC<IVideo> = ({
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleTogglePlay = () => {
|
const handleTogglePlay = () => {
|
||||||
if (!isMobile) togglePlay();
|
if (!isMobile || paused || hovered) togglePlay();
|
||||||
};
|
};
|
||||||
|
|
||||||
const progress = (currentTime / duration) * 100;
|
const progress = (currentTime / duration) * 100;
|
||||||
|
|
Ładowanie…
Reference in New Issue