Commit 15d621e1 authored by liujiangnan's avatar liujiangnan

debug

parent 51c5309a
...@@ -150,6 +150,10 @@ class PlayView { ...@@ -150,6 +150,10 @@ class PlayView {
if(_this.curIndex > _this.unlock){ if(_this.curIndex > _this.unlock){
_this.unlock = _this.curIndex; _this.unlock = _this.curIndex;
} }
if(_this.curIndex >= videoArr.length){
// 视频都播放完了,显示下一页按钮
window.courseware.nextPage();
}
// 监听视频播放结束 // 监听视频播放结束
_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