Commit 81285e22cc560105994c1a55701c3d3fcf98d473

Authored by ykxie
1 parent 5c7adb5e

test

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