From 879cba77cb1db49f15189b983baf6b8d242ed364 Mon Sep 17 00:00:00 2001 From: jessop Date: Mon, 30 Sep 2019 16:17:50 -0400 Subject: [PATCH] prevent remounting --- src/ui/component/viewers/videoViewer/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/component/viewers/videoViewer/view.jsx b/src/ui/component/viewers/videoViewer/view.jsx index 093bf3d20..dd68574ac 100644 --- a/src/ui/component/viewers/videoViewer/view.jsx +++ b/src/ui/component/viewers/videoViewer/view.jsx @@ -99,7 +99,7 @@ function VideoViewer(props: Props) { // Then it's set to false immediately after so we can re-mount a new player setRequireRedraw(true); }; - }, [videoRef, source, contentType, setRequireRedraw, requireRedraw, muted, volume]); + }, [videoRef, source, contentType, setRequireRedraw, requireRedraw]); useEffect(() => { if (requireRedraw) {