File tree Expand file tree Collapse file tree
apps/web/app/s/[videoId]/_components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import type { VideoData } from "../types";
1616import { type CaptionLanguage , useCaptionContext } from "./CaptionContext" ;
1717import { CapVideoPlayer } from "./CapVideoPlayer" ;
1818import { HLSVideoPlayer } from "./HLSVideoPlayer" ;
19- import { useUploadProgress } from "./ProgressCircle" ;
19+ import { shouldDeferPlaybackSource , useUploadProgress } from "./ProgressCircle" ;
2020import {
2121 PreparingVideoOverlay ,
2222 RecordingInProgressOverlay ,
@@ -200,7 +200,7 @@ export const ShareVideo = forwardRef<
200200 isSegmentsSource &&
201201 ( data . hasActiveUpload ?? false ) &&
202202 ! isActivelyRecording &&
203- segmentUploadProgress !== null ;
203+ shouldDeferPlaybackSource ( segmentUploadProgress ) ;
204204
205205 const prevProgressRef = useRef < typeof segmentUploadProgress > (
206206 segmentUploadProgress ,
You can’t perform that action at this time.
0 commit comments