Commit a04d3458487085db83a5003cc293dc5aac7dab52

Authored by ykxie
1 parent 5d08ed5c

自动播放

dist/gxb-ide/Dir.js
... ... @@ -643,7 +643,9 @@
643 643 })
644 644 }else{
645 645 $('.play-code').show();
646   - CodingEditer.playCoding();
  646 + if (role == 0) {
  647 + CodingEditer.playCoding();
  648 + }
647 649 }
648 650  
649 651 },
... ...
dist/v1.1/player.html
... ... @@ -224,9 +224,7 @@
224 224 <script>
225 225 $(function(){
226 226 window.pauseAudio = function(){
227   - alert('999999')
228 227 $.AudioPlayer.pause();
229   - alert('00000')
230 228 }
231 229 })
232 230 </script>
... ...
src/gxb-ide/Dir.js
... ... @@ -643,7 +643,9 @@
643 643 })
644 644 }else{
645 645 $('.play-code').show();
646   - CodingEditer.playCoding();
  646 + if (role == 0) {
  647 + CodingEditer.playCoding();
  648 + }
647 649 }
648 650  
649 651 },
... ...