|
@@ -700,7 +700,7 @@ export default {
|
|
|
this.pauseTime = Date.now();
|
|
|
this.pauseTimer = setInterval(() => {
|
|
|
console.log("暂停时间", Date.now() - this.pauseTime, this.pauseTime);
|
|
|
- if (Date.now() - this.pauseTime > 40 * 1000) {
|
|
|
+ if (Date.now() - this.pauseTime > 20 * 1000) {
|
|
|
// 5 * 60 * 1000
|
|
|
this.refPlv.exitFullScreen();
|
|
|
this.text = "暂停";
|
|
@@ -1200,14 +1200,14 @@ export default {
|
|
|
},
|
|
|
//配置随机拍照时间
|
|
|
configPhoto(duration) {
|
|
|
- if (this.photoConfig && this.photoList.length) {
|
|
|
+ if ((this.photoConfig && this.photoList.length) || !this.isPlaying) {
|
|
|
return;
|
|
|
}
|
|
|
let totalVideoTime = this.refPlv.getDuration();
|
|
|
this.photoConfig = true;
|
|
|
if (this.erJianErZao) {
|
|
|
this.photoList = this.randomConfig(totalVideoTime, duration);
|
|
|
- console.log(this.photoList, "this.photoList");
|
|
|
+ console.log(this.isPlaying, this.photoList, "this.photoList");
|
|
|
return;
|
|
|
}
|
|
|
//没有历史拍照间隔数据
|