What is going on

This commit is contained in:
Ivan Malison 2024-10-17 19:07:39 -06:00
parent 4dc7bf465f
commit e3900e794d

View File

@ -301,7 +301,9 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
}, [rate]);
const makeNewShaka = useCallback(() => {
console.log("makeNewShaka");
actionQueue.current.enqueue(async () => {
console.log("makeNewShaka actionQueue");
if (!nativeRef.current) {
console.warn('No video element to attach Shaka Player');
return;