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

The video can only be played once ??? #446

Open
4 tasks done
coderLanlan opened this issue Sep 21, 2022 · 1 comment
Open
4 tasks done

The video can only be played once ??? #446

coderLanlan opened this issue Sep 21, 2022 · 1 comment

Comments

@coderLanlan
Copy link

Describe the bug

I played an mp4 file and after the playback was over, I reported the error
errorMessage: 'The media playback was aborted due to a corruption…media used features your browser did not support.'

Reproduction

js:
const options = reactive({
width: '800px', //播放器高度
height: '450px', //播放器高度
color: '#409eff', //主题色
muted: false, //静音
webFullScreen: false,
speedRate: ['0.75', '1.0', '1.25', '1.5', '2.0'], //播放倍速
autoPlay: false, //自动播放
loop: false, //循环播放
mirror: false, //镜像画面
ligthOff: false, //关灯模式
volume: 0.3, //默认音量大小
controls: true, //是否显示控制器
title: '', //视频名称
src: atom:///${props.audio.source_path}, //视频源
poster: '', //封面
plugins: {
vjsdownload: {
beforeElement: 'Fullscreen',
textControl: '下载',
name: 'downloadButton',
downloadURL: null,
},
},
})

System Info

electron: ^17.1.2
node: 16.19.0
Video.js: 7.20.3
@videojs-player/vue: ^1.0.0
videojs-vjsdownload: ^1.0.4

Used Package Manager

yarn

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.
@polarove
Copy link

:loop="true"

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

2 participants