From e2daa2a9a6bce14d06bd9e8f3954613aeb7cccb8 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Mon, 24 May 2021 13:09:51 +0300 Subject: [PATCH] Round Video: Fix playing with sound only once (#1117) --- src/components/middle/message/RoundVideo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/middle/message/RoundVideo.tsx b/src/components/middle/message/RoundVideo.tsx index 57303a1c3..cca135d86 100644 --- a/src/components/middle/message/RoundVideo.tsx +++ b/src/components/middle/message/RoundVideo.tsx @@ -161,9 +161,9 @@ const RoundVideo: FC = ({ playerEl.pause(); } } else { + capturePlaying(); playerEl.currentTime = 0; setIsActivated(true); - capturePlaying(); } }, [capturePlaying, isActivated, mediaData]);