Commit a7231f49 authored by limingzhe's avatar limingzhe

fix: debug

parent c4520b36
...@@ -521,14 +521,27 @@ cc.Class({ ...@@ -521,14 +521,27 @@ cc.Class({
this.videoplayer.remoteURL = this.data.video_url; this.videoplayer.remoteURL = this.data.video_url;
// this.addServerListener(); this.addServerListener();
// if (window && window["air"]) { if (window && window["air"]) {
// window["air"].hideAirClassLoading(); window["air"].hideAirClassLoading();
// } }
}); });
}, },
addServerListener() {
console.log('addServerListener');
if (window && window["air"]) {
window.air.onCourseInScreen = (next) => {
this.playGame();
next();
}
} else {
this.playGame();
}
},
addPreloadAudio(callback) { addPreloadAudio(callback) {
......
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