Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue2中使用 this.$refs.videoPlayer.player设置倍速失败 #454

Open
4 tasks done
rene0103 opened this issue May 10, 2023 · 0 comments
Open
4 tasks done

Vue2中使用 this.$refs.videoPlayer.player设置倍速失败 #454

rene0103 opened this issue May 10, 2023 · 0 comments

Comments

@rene0103
Copy link

Describe the bug

前端页面四个button分别 0.25、0.5、1.0、2.0的倍速按钮,
this.$refs.videoPlayer.player.playbackRate(速度值);
video在一个弹窗中,如果打开弹窗视频播放后直接设置2.0的倍速,就无效,
先设置0.25、0.5倍速都可以实现,然后再去设置2的倍速,此时有效果。大约5秒后,失效。

Reproduction

前端页面四个button分别 0.25、0.5、1.0、2.0的倍速按钮,
this.$refs.videoPlayer.player.playbackRate(速度值);
video在一个弹窗中,如果打开弹窗视频播放后直接设置2.0的倍速,就无效,
先设置0.25、0.5倍速都可以实现,然后再去设置2的倍速,此时有效果。大约5秒后,失效。

System Info

"vue-video-player": "^5.0.2",

Used Package Manager

npm

Validations

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant