()
| 1037 | } |
| 1038 | |
| 1039 | const getDuration = () => { |
| 1040 | return videoRef.current ? videoRef.current.duration |
| 1041 | : animationData ? animationData.map((f) => f.delay).reduce((p, c) => p + c) / 1000 : 0 |
| 1042 | } |
| 1043 | |
| 1044 | const seek = (position: number) => { |
| 1045 | const duration = getDuration() |
no outgoing calls
no test coverage detected