Commit 81285e22cc560105994c1a55701c3d3fcf98d473

Authored by ykxie
1 parent 5c7adb5e

test

src/gxb-ide/Dir.js
@@ -660,16 +660,16 @@ @@ -660,16 +660,16 @@
660 if (res.status == true && playTimes === 0) { 660 if (res.status == true && playTimes === 0) {
661 CodingEditer.playCoding(); 661 CodingEditer.playCoding();
662 playTimes++ 662 playTimes++
663 - alert('canplayCallback可以播放 ----------- ' + playTimes) 663 + // alert('canplayCallback可以播放 ----------- ' + playTimes)
664 } 664 }
665 }, 665 },
666 onwaitingCallback: function(){ 666 onwaitingCallback: function(){
667 - console.log('onwaitingCallback ----------- ' + playTimes) 667 + // console.log('onwaitingCallback ----------- ' + playTimes)
668 }, 668 },
669 playCallback: function() { // 播放 669 playCallback: function() { // 播放
670 if (playTimes != 0) { 670 if (playTimes != 0) {
671 CodingEditer.playCoding(); 671 CodingEditer.playCoding();
672 - alert('playCoding可以播放 ----------- ' + playTimes) 672 + // alert('playCoding可以播放 ----------- ' + playTimes)
673 } 673 }
674 // CodingEditer.playCoding(); 674 // CodingEditer.playCoding();
675 }, 675 },
src/js/audioPlayer/jQuery.AudioPlayer.js
@@ -251,7 +251,7 @@ @@ -251,7 +251,7 @@
251 if(typeof _this.options.canplayCallback == 'function'){ 251 if(typeof _this.options.canplayCallback == 'function'){
252 _this.options.canplayCallback({'status': true}); 252 _this.options.canplayCallback({'status': true});
253 } 253 }
254 - 254 + alert('readyState--------------'+_this.elements.audioDom.readyState)
255 // if (_this.elements.audioDom.readyState == 4) { 255 // if (_this.elements.audioDom.readyState == 4) {
256 // var duration = Math.round(_this.elements.audioDom.duration); 256 // var duration = Math.round(_this.elements.audioDom.duration);
257 // var minutes = Math.floor(duration / 60); 257 // var minutes = Math.floor(duration / 60);