This commit is contained in:
zhangsir
2024-06-03 20:49:09 +08:00
parent 4649a9db4a
commit 7d27f428b5
2 changed files with 9 additions and 2 deletions

View File

@@ -576,6 +576,7 @@ export default {
// 进度条到终点时修改播放状态
this.isShowPlayer = false
this.$emit('onPlayerPlaying', this.videoDom.currentTime,this.videoDom.duration)
this.$emit('progress',this.currentProgress)
if (this.currentProgress === 1) {
this.isPlaying = false;
this.$emit('onPlayerEnded', {})