y595705120 3 年之前
父節點
當前提交
fc5cb352d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/containers/center/play/components/media.vue

+ 1 - 1
src/containers/center/play/components/media.vue

@@ -86,7 +86,7 @@
       onPlayerTimeupdate( player ){
         let myPlayer = this.$refs.videoPlayer.player;
         let curTimes = player.cache_.currentTime;
-        if( curTimes > this.media.position+15 ){
+        if( curTimes > this.media.position+15 && !this.media.isFinish){
           console.log("return", curTimes, this.media.position )
           player.currentTime( this.media.position );
           return;