forked from lopezs/ableplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest12.html
More file actions
41 lines (30 loc) · 1.67 KB
/
test12.html
File metadata and controls
41 lines (30 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Able Player Test #12</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"/>
<!-- CSS for interactive transcript -->
<link rel="stylesheet" href="../styles/ableplayer-transcript.css" type="text/css"/>
<!-- Able Player JavaScript -->
<script src="../build/ableplayer.js"></script>
</head>
<body>
<h1>Able Player Test #12:<br/>Video player with <em>default</em> closed captions</h1>
<p>This test page was designed for testing a bug in which certain browsers display captions even if no <em>controls</em> attribute is present. They only do this if a <track> element has a <em>default</em> attribute. For additional details see <a href="https://github.com/ableplayer/ableplayer/issues/5">Able Player Issue 5</a>.</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 -->
<video id="video1" preload="auto" width="480" height="360" poster="../media/wwa.jpg" data-able-player>
<source type="video/webm" src="../media/wwa.webm"/>
<source type="video/mp4" src="../media/wwa.mp4"/>
<track kind="subtitles" src="../media/wwa_captions_es.vtt" srclang="es" label="Espanol" default/>
<track kind="captions" src="../media/wwa_captions_en.vtt" srclang="en" label="English"/>
</video>
</body>
</html>