|
@@ -371,7 +371,6 @@ export default {
|
|
|
let photoTime = 0; //获取拍照秒数
|
|
|
for (let i = 0; i < this.photoList.length; i++) {
|
|
|
photoTime = Number(this.photoList[i]); //获取拍照秒数
|
|
|
- console.log(this.photoList, photoTime, videoTime);
|
|
|
if (photoTime < videoTime && photoTime > videoTime - 8) {
|
|
|
//3秒区间内才触发拍照,避免拉动滚动条
|
|
|
if (
|
|
@@ -419,6 +418,7 @@ export default {
|
|
|
if (this.isFullScreen()) {
|
|
|
this.exitFullscreen();
|
|
|
}
|
|
|
+ this.videoPauseSetTimeStatus = true;
|
|
|
this.$confirm(
|
|
|
"检测播放暂停或拍照停留时间过长,刷新当前页面",
|
|
|
"提示",
|
|
@@ -433,11 +433,10 @@ export default {
|
|
|
}
|
|
|
)
|
|
|
.then(() => {
|
|
|
- this.videoPauseSetTimeStatus = true;
|
|
|
this.$router.go(0);
|
|
|
})
|
|
|
.catch(() => {});
|
|
|
- }, 300000);
|
|
|
+ }, 60000);//300000
|
|
|
}
|
|
|
},
|
|
|
//视频恢复播放时触发
|