Skip to content

配置项fastForward设置为true时长按快进报错 #1014

@WhiteSevs

Description

@WhiteSevs

Expected behaviour

Actual behaviour

Steps to reproduce

启用移动端长按快进

fastForward: true

报错如图

Image Image

经排查是这里的错误,当触发快进时播放速度为Artplayer.FAST_FORWARD_VALUE = 3,该速度不在Artplayer.PLAYBACK_RATE = [0.5, 0.75, 1, 1.25, 1.5, 2]里,就是空的

function update() {
const target = art.setting.find(`playback-rate-${art.playbackRate}`)
art.setting.check(target)
}

Environment

  • Browser: Edge
  • Version: 140.0.3485.54
  • Operating System: Windows
  • Version: 11

Console errors (if any)

Uncaught TypeError: Cannot read properties of null (reading '$parent')

Link to where the bug is happening

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ready for releaseReady for releasebugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions