Commit 98919a578087728d17586acee6b3d07e14959fcb
1 parent
0698a48e
fuben
Showing
1 changed file
with
11 additions
and
9 deletions
src/player-fuben.html
| @@ -21,19 +21,21 @@ | @@ -21,19 +21,21 @@ | ||
| 21 | <h1>2222222</h1> | 21 | <h1>2222222</h1> |
| 22 | <audio src="https://gxbfile-gs.gaoxiaobang.com/uploads/programming_audio/link/17/07/26/80271fbafafe42399d35dab2b2cef189" controls="controls"></audio> | 22 | <audio src="https://gxbfile-gs.gaoxiaobang.com/uploads/programming_audio/link/17/07/26/80271fbafafe42399d35dab2b2cef189" controls="controls"></audio> |
| 23 | <h1>3333333</h1> | 23 | <h1>3333333</h1> |
| 24 | - <audio id="audioID" autoplay="autoplay" controls="controls" height="50" width="100"> | 24 | + <audio id="audioID" controls="controls" height="50" width="100"> |
| 25 | <source src="http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3" type="audio/mp3" preload="auto" /> | 25 | <source src="http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3" type="audio/mp3" preload="auto" /> |
| 26 | <source src="audio.ogg" type="audio/ogg" preload="auto" /> | 26 | <source src="audio.ogg" type="audio/ogg" preload="auto" /> |
| 27 | </audio> | 27 | </audio> |
| 28 | <script> | 28 | <script> |
| 29 | - document.createElement('<script src="js/cordova.js"><\/script>') | ||
| 30 | - $.AudioPlayer.init({ | ||
| 31 | - container: '#audioWrap' | ||
| 32 | - ,source: "http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3" | ||
| 33 | - ,imagePath: 'js/audioPlayer/image' | ||
| 34 | - ,debuggers: false | ||
| 35 | - ,allowSeek: false | ||
| 36 | - }); | 29 | + // document.createElement('<script src="js/cordova.js"><\/script>') |
| 30 | + $(function(){ | ||
| 31 | + $.AudioPlayer.init({ | ||
| 32 | + container: '#audioWrap' | ||
| 33 | + ,source: "http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3" | ||
| 34 | + ,imagePath: 'js/audioPlayer/image' | ||
| 35 | + ,debuggers: false | ||
| 36 | + ,allowSeek: false | ||
| 37 | + }); | ||
| 38 | + }) | ||
| 37 | </script> | 39 | </script> |
| 38 | </body> | 40 | </body> |
| 39 | </html> | 41 | </html> |