forked from lopezs/ableplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest9.html
More file actions
81 lines (65 loc) · 2.49 KB
/
test9.html
File metadata and controls
81 lines (65 loc) · 2.49 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Able Player Test #9</title>
<link rel="stylesheet" href="tests.css" type="text/css">
<!-- Dependencies -->
<script src="../thirdparty/modernizr.custom.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="../thirdparty/jquery.cookie.js"></script>
<!-- Able Player CSS -->
<link rel="stylesheet" href="../styles/ableplayer.css" type="text/css"/>
<!-- Playlist CSS is optional, used for default Able Player-style playlists -->
<link rel="stylesheet" href="../styles/ableplayer-playlist.css" type="text/css"/>
<!-- Able Player JavaScript -->
<script src="../build/ableplayer.js"></script>
<!-- style for this page only -->
<style>
.column {
float: left;
padding-right: 10px;
}
</style>
</head>
<body>
<h1>Able Player Test #9:<br/>Multiple audio players (each with its own playlist)</h1>
<p>The first player has an embedded playlist, the second player has an external playlist.</p>
<p>For additional tests see the <a href="index.html">Index of <em>Able Player</em> Examples</a>.</p>
<div class="column">
<h2>Player with Embedded Playlist</h2>
<audio id="audio1" class="ump-media" preload="auto" data-able-player>
<!-- source elements are optional when there's a playlist. -->
<!-- If ommitted, they will be constructed from the first playlist item -->
</audio>
<!-- first playlist (embedded) -->
<ul class="able-playlist" data-player="audio1" data-embedded>
<li
data-mp3="../media/everyday.mp3"
data-ogg="../media/everyday.ogg">Every Day</li>
<li
data-mp3="../media/php70alpha.mp3"
data-ogg="../media/php70alpha.ogg">PHP 7.0 Alpha</li>
</ul>
</div>
<div class="column">
<h2>Player with External Playlist</h2>
<audio id="audio2" class="ump-media" preload="auto" data-able-player>
<!-- source elements are optional when there's a playlist. -->
<!-- If ommitted, they will be constructed from the first playlist item -->
</audio>
<!-- second playlist (external) -->
<ul class="able-playlist" data-player="audio2">
<li
data-mp3="../media/frenchsong.mp3"
data-ogg="../media/frenchsong.ogg" lang="fr">Une Chanson Française</li>
<li
data-mp3="../media/paulallen.mp3"
data-ogg="../media/paulallen.ogg">The Paul Allen Song</li>
<li
data-mp3="../media/smallf.mp3"
data-ogg="../media/smallf.ogg">Man With Small F (The Inaccessible PDF Song)</li>
</ul>
</div>
</body>
</html>