Commit 2b441efa51579ff0d6a10fa332ac59d2a9ba9d6f

Authored by ykxie
1 parent 6972dfbd

测试

Showing 1 changed file with 10 additions and 18 deletions
src/player-fuben.html
... ... @@ -2,6 +2,7 @@
2 2 <html lang="en">
3 3 <head>
4 4 <meta charset="UTF-8">
  5 + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
5 6 <title>互动编程</title>
6 7 <link rel="stylesheet" href="js/audioPlayer/theme.default.css">
7 8  
... ... @@ -15,7 +16,15 @@
15 16 </style>
16 17 </head>
17 18 <body>
  19 + <h1>1111111</h1>
18 20 <div class="" id="audioWrap"></div>
  21 + <h1>2222222</h1>
  22 + <audio src="https://gxbfile-gs.gaoxiaobang.com/uploads/programming_audio/link/17/07/26/80271fbafafe42399d35dab2b2cef189" controls="controls"></audio>
  23 + <h1>3333333</h1>
  24 + <audio id="audioID" autoplay="autoplay" controls="controls" height="50" width="100">
  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" />
  27 + </audio>
19 28 <script>
20 29 document.createElement('<script src="js/cordova.js"><\/script>')
21 30 $.AudioPlayer.init({
... ... @@ -27,23 +36,6 @@
27 36 });
28 37 </script>
29 38 </body>
30   -</html
31   -
32   -<!DOCTYPE html>
33   -<html>
34   -<head>
35   -<meta charset="utf-8">
36   -<title>菜鸟教程(runoob.com)</title>
37   -</head>
38   -<body>
39   -
40   -<audio id="audioID" autoplay="autoplay" controls="controls" height="50" width="100">
41   - <source src="http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3" type="audio/mp3" preload="auto" />
42   - <source src="audio.ogg" type="audio/ogg" preload="auto" />
43   -</audio>
  39 +</html>
44 40  
45   -<p>如果你无法听到该音频,那么可能你的电脑或浏览器不支持该文件格式。</p>
46   -<p>或者你没有打开扬声器。</p>
47 41  
48   -</body>
49   -</html>
... ...