y595705120 3 rokov pred
rodič
commit
fc5cb352d9

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

@@ -86,7 +86,7 @@
       onPlayerTimeupdate( player ){
       onPlayerTimeupdate( player ){
         let myPlayer = this.$refs.videoPlayer.player;
         let myPlayer = this.$refs.videoPlayer.player;
         let curTimes = player.cache_.currentTime;
         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 )
           console.log("return", curTimes, this.media.position )
           player.currentTime( this.media.position );
           player.currentTime( this.media.position );
           return;
           return;