diff --git a/src/Video.web.tsx b/src/Video.web.tsx index ad8e17fc..9c1ab82a 100644 --- a/src/Video.web.tsx +++ b/src/Video.web.tsx @@ -250,8 +250,8 @@ const Video = forwardRef( if (source?.cropEnd) { shakaPlayerRef.current.configure({playRangeEnd: source?.cropEnd / 1000}) } - //@ts-ignore setCurrentSource(source); + //@ts-ignore shakaPlayerRef.current.addEventListener("error", (event) => { //@ts-ignore const shakaError = event.detail;