WIP: test #8

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

View File

@@ -250,8 +250,8 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
if (source?.cropEnd) { if (source?.cropEnd) {
shakaPlayerRef.current.configure({playRangeEnd: source?.cropEnd / 1000}) shakaPlayerRef.current.configure({playRangeEnd: source?.cropEnd / 1000})
} }
//@ts-ignore
setCurrentSource(source); setCurrentSource(source);
//@ts-ignore
shakaPlayerRef.current.addEventListener("error", (event) => { shakaPlayerRef.current.addEventListener("error", (event) => {
//@ts-ignore //@ts-ignore
const shakaError = event.detail; const shakaError = event.detail;