Commit 51c5309a authored by liujiangnan's avatar liujiangnan

debug

parent 3f6be58f
...@@ -134,9 +134,12 @@ class PlayView { ...@@ -134,9 +134,12 @@ class PlayView {
$("#video").attr('src', videoArr[this.curIndex]) ; $("#video").attr('src', videoArr[this.curIndex]) ;
const video = $("#video")[0]; const video = $("#video")[0];
setTimeout(() => { let i = setInterval(() => {
if (video.readyState > 0) {
video.play(); video.play();
}, 2000); clearInterval(i);
}
}, 100);
_this.refreshBtnStatus(); _this.refreshBtnStatus();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment