Commit a7231f49 authored by limingzhe's avatar limingzhe

fix: debug

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