-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (36 loc) · 1.68 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Ella tiene hambre.</title>
<meta name="description" content="Sample HTML5 code that makes use of a WebVTT file and playr to add subtitles to a video clip" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0">
<!-- <link rel="stylesheet" href="playr.css" />-->
<style>
body { font-family:Verdana,Arial; margin:0 }
a { text-decoration:none; color:#666; }
h1 { font-size:20px; padding:0; }
header p { font-size:12px; }
.playr_controls { margin-top:-11px; }
video { width:360px; height:260px; margin: 0 auto; display:block}
small { color:#aaa; font-size:11px; display:block; }
.highlight { color:#4169e1; font-weight:bold; text-transform:uppercase; background-color:#fff; padding:0 2px; }
footer { font-size:11px; color:#aaa; }
</style>
<!-- <script src="playr.min.js"></script>-->
</head>
<body>
<header>
<h1>Ella tiene hambre.</h1>
</header>
<p>This video uses the following <a href="subtitles-es.vtt">WebVTT file</a>.</p>
<video id="vTest" class="playr_video" controls preload="metadata">
<source src='http://www.emoclients.com/mvm/070614_Mayra_Pulido/e7b5d59e-21a3-4213-b547.mov' >
<track label="Español" kind="subtitles" srclang="en" src="subtitle-es.vtt" default>
</video>
<small>copyright © Mightyverse, Inc. 2014</small>
<footer>
<p>inspired by <a href="http://www.iandevlin.com/blog/2011/05/html5/webvtt-and-video-subtitle">WebVTT and Video Subtitles - iandevlin.com</a> and <a href="http://www.iandevlin.com/html5test/webvtt/html5-video-webvtt-sample.html">this example</a>) by <a href="http://twitter.com/iandevlin">ian devlin</a></p>
</footer>
</body>
</html>