forked from lopezs/ableplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest8.html
More file actions
44 lines (33 loc) · 1.6 KB
/
test8.html
File metadata and controls
44 lines (33 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Able Player Test #8</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"/>
<!-- Able Player JavaScript -->
<script src="../build/ableplayer.js"></script>
</head>
<body>
<h1>Able Player Test #8:<br/>Multiple audio players (one track each)</h1>
<p>Having multiple players on a single page might be fun for producing on-the-fly mashups. However, only the first player can be operated with keystrokes, which might be confusing for users. Although UMP supports multiple player instances, they're discouraged. Use <a href="test6.html">playlists</a> instead.</p>
<p>For additional test see the <a href="index.html">Index of <em>Able Player</em> Examples</a>.</p>
<h2>Player #1: Every Day</h2>
<!-- use the following markup for each media element -->
<audio id="audio1" preload="auto" data-able-player>
<source type="audio/ogg" src="../media/everyday.ogg"/>
<source type="audio/mpeg" src="../media/everyday.mp3"/>
</audio>
<h2>Player #2: Man With Small F (The Inaccessible PDF Song)</h2>
<!-- use the following markup for each media element -->
<audio id="audio2" preload="auto" data-able-player>
<source type="audio/ogg" src="../media/smallf.ogg"/>
<source type="audio/mpeg" src="../media/smallf.mp3"/>
</audio>
</body>
</html>