Merge branch 'update-video' into 'main'
Update video on mobile Closes #1779 See merge request soapbox-pub/soapbox!3207
This commit is contained in:
commit
fbfac7b5a3
|
@ -469,7 +469,7 @@ const Video: React.FC<IVideo> = ({
|
|||
};
|
||||
|
||||
const handleTogglePlay = () => {
|
||||
if (!isMobile) togglePlay();
|
||||
if (!isMobile || paused || hovered) togglePlay();
|
||||
};
|
||||
|
||||
const progress = (currentTime / duration) * 100;
|
||||
|
|
Loading…
Reference in New Issue