From bc46a6910faea6b9ee2af3309264933f63aa529e Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Fri, 13 Sep 2024 14:34:32 +0200 Subject: [PATCH] ui: force worker for hls --- .../Spots/SpotPlayer/components/SpotVideoContainer.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx b/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx index 0dc8282d7..0fe7a81ea 100644 --- a/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx +++ b/frontend/app/components/Spots/SpotPlayer/components/SpotVideoContainer.tsx @@ -34,7 +34,9 @@ function SpotVideoContainer({ checkReady: () => Promise; }) { const [prevIsProcessing, setPrevIsProcessing] = React.useState(false); - const [processingState, setProcessingState] = React.useState(ProcessingState.Unchecked); + const [processingState, setProcessingState] = React.useState( + ProcessingState.Unchecked + ); const [isLoaded, setLoaded] = React.useState(false); const videoRef = React.useRef(null); const playbackTime = React.useRef(0);