Typescript
This commit is contained in:
parent
4f18e9b238
commit
2cfb26d51f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user