Round Video: Fix playing with sound only once (#1117)
This commit is contained in:
parent
8eb1eb2d70
commit
e2daa2a9a6
@ -161,9 +161,9 @@ const RoundVideo: FC<OwnProps> = ({
|
||||
playerEl.pause();
|
||||
}
|
||||
} else {
|
||||
capturePlaying();
|
||||
playerEl.currentTime = 0;
|
||||
setIsActivated(true);
|
||||
capturePlaying();
|
||||
}
|
||||
}, [capturePlaying, isActivated, mediaData]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user