浏览代码

自动播放

赵启卫 2 年之前
父节点
当前提交
80eb98114c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/wap/view/first/special/task_info.html

+ 1 - 1
application/wap/view/first/special/task_info.html

xqd
@@ -310,7 +310,7 @@
                         this.player.setPreviewTime(this.taskInfo.try_time * 60);
                     }
                     document.addEventListener('WeixinJSBridgeReady',() => { 
-                        if (this.player) this.player.play();
+                        if (vm.player) vm.player.play();
                     })
                 },
                 // 初始播放位置