|
@@ -1212,7 +1212,7 @@ export default defineComponent({
|
|
// const videoCountTime = videoIntervalRef?.counter.value
|
|
// const videoCountTime = videoIntervalRef?.counter.value
|
|
// 判断 视屏播放时间大于视屏播放有效时间则说明数据有问题,进行重置数据
|
|
// 判断 视屏播放时间大于视屏播放有效时间则说明数据有问题,进行重置数据
|
|
const rate = Math.floor(
|
|
const rate = Math.floor(
|
|
- (time / Math.floor(videoForms.player.duration())) * 100
|
|
|
|
|
|
+ (Math.round(time) / Math.floor(videoForms.player.duration())) * 100
|
|
);
|
|
);
|
|
otherParams = {
|
|
otherParams = {
|
|
videoBrowseData: JSON.stringify(videoBrowseData), // 视屏播放数据
|
|
videoBrowseData: JSON.stringify(videoBrowseData), // 视屏播放数据
|
|
@@ -1397,6 +1397,7 @@ export default defineComponent({
|
|
videoForms.player.on('play', () => {
|
|
videoForms.player.on('play', () => {
|
|
console.log('play');
|
|
console.log('play');
|
|
forms.showDuration = false;
|
|
forms.showDuration = false;
|
|
|
|
+
|
|
// 判断视频计时器是否暂停,如果暂停则恢复
|
|
// 判断视频计时器是否暂停,如果暂停则恢复
|
|
videoIntervalRef.resume();
|
|
videoIntervalRef.resume();
|
|
timer.resume();
|
|
timer.resume();
|