|
|
@@ -59,7 +59,7 @@ import { config } from "shelljs";
|
|
|
},
|
|
|
created() {
|
|
|
this.timer = setInterval(this.tick, 5 * 1000);
|
|
|
- this.startMonitor();
|
|
|
+ // this.startMonitor();
|
|
|
this.updateBlurtime()
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -163,10 +163,10 @@ import { config } from "shelljs";
|
|
|
if( this.media.isFinish ) return;
|
|
|
|
|
|
if( !force && !this.onPlay ) return;
|
|
|
- if( this.onblurTime < Date.now() ){
|
|
|
- this.tickWait();
|
|
|
- return
|
|
|
- }
|
|
|
+ // if( this.onblurTime < Date.now() ){
|
|
|
+ // this.tickWait();
|
|
|
+ // return
|
|
|
+ // }
|
|
|
// 主动暂停
|
|
|
let myPlayer = this.$refs.videoPlayer.player;
|
|
|
let curTimes = parseInt(myPlayer.currentTime());
|