Commit 481d71799f930933fd21c26d3e9c3dfa87bd297a
1 parent
93541dff
add mp3
Showing
2 changed files
with
3 additions
and
1 deletions
src/player.html
| ... | ... | @@ -319,7 +319,8 @@ |
| 319 | 319 | <div class="tab-pane active padall15" id="stdin"> |
| 320 | 320 | <input type="text" class="effect-2" id="input" placeholder="标准输入"> |
| 321 | 321 | <span class="focus-border"></span> |
| 322 | - <button class="btn playAudio">播放</button> | |
| 322 | + <button class="btn playAudio">播放sss</button> | |
| 323 | + <audio id="dawang" controls="controls" src="../static/dawangjiaowolaixunsan.mp3"></audio> | |
| 323 | 324 | </div> |
| 324 | 325 | <div class="tab-pane padall15" id="cmpinfo"></div> |
| 325 | 326 | <div class="tab-pane padall15" id="stderr"></div> |
| ... | ... | @@ -362,6 +363,7 @@ |
| 362 | 363 | $(function(){ |
| 363 | 364 | $('.playAudio').click(function(){ |
| 364 | 365 | $('#audio-element')[0].play(); |
| 366 | + $('#dawang')[0].play(); | |
| 365 | 367 | }) |
| 366 | 368 | }) |
| 367 | 369 | </script> | ... | ... |
static/dawangjiaowolaixunsan.mp3
0 → 100644
No preview for this file type