Skip to content

Commit

Permalink
chore: del code
Browse files Browse the repository at this point in the history
  • Loading branch information
lareinayanyu committed Jan 10, 2025
1 parent 3b456a5 commit aaf3063
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ const MpxVideo = forwardRef<HandlerRef<View, VideoProps>, VideoProps>((videoProp

const propsRef = useRef({})

const bufferedPercentage = useRef<undefined|number>()

propsRef.current = props

const { normalStyle, hasSelfPercent, setWidth, setHeight } =
Expand Down Expand Up @@ -297,7 +295,6 @@ const MpxVideo = forwardRef<HandlerRef<View, VideoProps>, VideoProps>((videoProp
))
}

// 处理错误
function handleError ({ error }: OnVideoErrorData) {
binderror && binderror(getCustomEvent('play', {}, { detail: { errMsg: error.localizedFailureReason }, layoutRef }, propsRef.current))
}
Expand Down

0 comments on commit aaf3063

Please sign in to comment.