Browse Source

限制15s才提交记录

谢杰标 2 years ago
parent
commit
3e490a44cc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      pages3/polyv/detail.vue

+ 3 - 0
pages3/polyv/detail.vue

@@ -2737,6 +2737,9 @@ export default {
         PlayDuration = polyvPlayerContext.j2s_realPlayVideoTime(); //本次看的时长
         // #endif
       }
+      if (currentTime < 15) {
+        return;
+      }
       if (this.playChannelId > 0) {
         currentTime = 2; //直播无法获取,无论开始结束都传2秒
       }