From 4dc9a6a0aa9d467542450b73bd2b9abc9320e945 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Thu, 19 Sep 2024 21:23:04 +0200 Subject: [PATCH] fix: initial load should be true --- components/FullScreenVideoPlayer.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/FullScreenVideoPlayer.tsx b/components/FullScreenVideoPlayer.tsx index a7572f35..10e79eb4 100644 --- a/components/FullScreenVideoPlayer.tsx +++ b/components/FullScreenVideoPlayer.tsx @@ -173,7 +173,6 @@ export const FullScreenVideoPlayer: React.FC = () => { min.value = 0; max.value = 0; cacheProgress.value = 0; - localIsBuffering.value = false; sliding.current = false; hideControls(); setStatusBarHidden(false); @@ -539,9 +538,8 @@ export const FullScreenVideoPlayer: React.FC = () => { localIsBuffering.value = true; }} onLoad={() => { - localIsBuffering.value = true + localIsBuffering.value = true; }} - progressUpdateInterval={1000} onError={handleVideoError} />