ui: force worker for hls
This commit is contained in:
parent
62c0d07fe0
commit
bc46a6910f
1 changed files with 3 additions and 1 deletions
|
|
@ -34,7 +34,9 @@ function SpotVideoContainer({
|
|||
checkReady: () => Promise<boolean>;
|
||||
}) {
|
||||
const [prevIsProcessing, setPrevIsProcessing] = React.useState(false);
|
||||
const [processingState, setProcessingState] = React.useState<ProcessingState>(ProcessingState.Unchecked);
|
||||
const [processingState, setProcessingState] = React.useState<ProcessingState>(
|
||||
ProcessingState.Unchecked
|
||||
);
|
||||
const [isLoaded, setLoaded] = React.useState(false);
|
||||
const videoRef = React.useRef<HTMLVideoElement>(null);
|
||||
const playbackTime = React.useRef(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue