From 2cfb26d51fc4d6f07eb032ca9276c4f0d6612e0c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 17 Oct 2024 18:20:28 -0600 Subject: [PATCH] Typescript --- src/Video.web.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;