forked from lopezs/ableplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest2.html
More file actions
39 lines (29 loc) · 1.33 KB
/
test2.html
File metadata and controls
39 lines (29 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Able Player Test #2</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 #2:<br/>Audio player with non-zero start time</h1>
<p>This player is initialized to start automatically, at 2:20 into the track (just prior to the guitar solo).
This can be used to start the media from search results or an interactive transcript.
In order to play the media automatically at the target start time, the media element must also include the <em>autoplay</em> attribute.
</p>
<p>For additional tests see the <a href="index.html">Index of <em>Able Player</em> Examples</a>.</p>
<!-- use the following markup for each media element -->
<audio id="audio1" preload="auto" data-able-player data-start-time="140" autoplay>
<source type="audio/ogg" src="../media/smallf.ogg"/>
<source type="audio/mpeg" src="../media/smallf.mp3"/>
</audio>
</body>
</html>