player-fuben.html
1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
<title>互动编程</title>
<link rel="stylesheet" href="js/audioPlayer/theme.default.css">
<script src="js/jquery-1.7.1.js"></script>
<script src="https://api.html5media.info/1.1.8/html5media.min.js"></script>
<script type="text/javascript" src="js/audioPlayer/jQuery.AudioPlayer.js"></script>
<style>
#componentWrapper {
background: rebeccapurple;
}
</style>
</head>
<body>
<h1>1111111</h1>
<div class="" id="audioWrap"></div>
<h1>2222222</h1>
<audio src="https://gxbfile-gs.gaoxiaobang.com//uploads/programming_audio/link/17/07/26/80271fbafafe42399d35dab2b2cef189" controls="controls"></audio>
<h1>3333333</h1>
<audio id="audioID" controls="controls" height="50" width="100">
<source src="http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3" type="audio/mp3" preload="auto" />
<source src="audio.ogg" type="audio/ogg" preload="auto" />
</audio>
<script>
// document.createElement('<script src="js/cordova.js"><\/script>')
$(function(){
$.AudioPlayer.init({
container: '#audioWrap'
,source: "http://7xrm8d.com1.z0.glb.clouddn.com/dawangjiaowolaixunsan.mp3"
,imagePath: 'js/audioPlayer/image'
,debuggers: false
,allowSeek: false
});
})
</script>
</body>
</html>