WIP: test #8

Draft
loewy wants to merge 61 commits from async-queue-shaka into master
Showing only changes of commit e3900e794d - Show all commits

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;