Closed thshu closed 7 months ago
预期为触发事件在控制台输出 视频播放完毕
没有任何事件被触发
相关代码:
art.on('ended', () => { console.log("视频播放完毕"); speed.value++ });
原生的video事件需要使用video:ended https://artplayer.org/document/advanced/event.html
video:ended
art.on('video:ended', () => { console.log("视频播放完毕"); });
Expected behaviour
预期为触发事件在控制台输出 视频播放完毕
Actual behaviour
没有任何事件被触发
Steps to reproduce
相关代码:
Environment
Console errors (if any)
Link to where the bug is happening