提交 1f4ec2c7 编写于 作者: guangjun.yang's avatar guangjun.yang

试看问题

上级 d7496265
...@@ -171,6 +171,7 @@ export default { ...@@ -171,6 +171,7 @@ export default {
onPlay() { onPlay() {
this.reportOnOff(1); this.reportOnOff(1);
this.isPaused = false; this.isPaused = false;
this.showProved = false;
}, },
onPause() { onPause() {
this.reportOnOff(2); this.reportOnOff(2);
...@@ -247,7 +248,7 @@ export default { ...@@ -247,7 +248,7 @@ export default {
this.player.play(); this.player.play();
if (!this.player.paused) { if (!this.player.paused) {
this.isPaused = false; this.isPaused = false;
this.reportOnOff(1); // this.reportOnOff(1);
this.showProved = false; this.showProved = false;
} }
return null; return null;
...@@ -265,7 +266,7 @@ export default { ...@@ -265,7 +266,7 @@ export default {
this.player.currentTime = 0; this.player.currentTime = 0;
this.player.play(); this.player.play();
this.isPaused = false; this.isPaused = false;
this.reportOnOff(1); // this.reportOnOff(1);
this.$emit('onReplay'); this.$emit('onReplay');
this.showReplay = false; this.showReplay = false;
this.provedOver = false; this.provedOver = false;
...@@ -342,7 +343,7 @@ export default { ...@@ -342,7 +343,7 @@ export default {
this.player.play(); this.player.play();
this.playTime++; this.playTime++;
this.isPaused = false; this.isPaused = false;
this.reportOnOff(1); // this.reportOnOff(1);
} }
}, },
// 拖动进度条 // 拖动进度条
......
...@@ -781,9 +781,9 @@ export default { ...@@ -781,9 +781,9 @@ export default {
this.needShort = true; this.needShort = true;
}, 5000); }, 5000);
if(videoUrl) { if(videoUrl) {
_this.limitTimes = this.shareParam.trySeeTime || 0; _this.limitTimes = this.shareParam.limitTimes || 0;
_this.videoOptions.mp4 = videoUrl; _this.videoOptions.mp4 = videoUrl;
_this.videoOptions.trySeeTime = this.shareParam.trySeeTime || 0; _this.videoOptions.trySeeTime = this.shareParam.limitTimes || 0;
} else { } else {
_this.limitTimes = res.data.trySeeTime; _this.limitTimes = res.data.trySeeTime;
_this.videoOptions.mp4 = res.data.attachmentUrl; _this.videoOptions.mp4 = res.data.attachmentUrl;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册