Typescript

This commit is contained in:
Ivan Malison 2024-10-17 18:20:28 -06:00
parent 4f18e9b238
commit 2cfb26d51f

View File

@ -250,8 +250,8 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
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;