From ab13b23cef75409b1068fa4e1bea7aa00e6bfce1 Mon Sep 17 00:00:00 2001 From: Anthony Date: Tue, 22 Jun 2021 21:24:15 +0200 Subject: [PATCH] dont display cc button via videojs settings --- ui/component/viewers/videoViewer/internal/videojs.jsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/component/viewers/videoViewer/internal/videojs.jsx b/ui/component/viewers/videoViewer/internal/videojs.jsx index d0cec1678..195c4cd5e 100644 --- a/ui/component/viewers/videoViewer/internal/videojs.jsx +++ b/ui/component/viewers/videoViewer/internal/videojs.jsx @@ -200,6 +200,11 @@ export default React.memo(function VideoJs(props: Props) { eventTracking: true, overlay: OVERLAY.OVERLAY_DATA, }, + // fixes problem of errant CC button showing up on iOS + // TODO: find the source of why the button recently began to show up on iOS + controlBar: { + subsCapsButton: false, + }, }; const tapToUnmuteRef = useRef();