This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (49 loc) · 2.14 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Media-Plyr</title>
<meta name="description" content="A local subtitle-capable media player that powered by Plyr for all devices.">
<meta name="author" content="Calvin Tam">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="./plyr-2.0.7.css" />
<link rel="stylesheet" type="text/css" href="./docs.css" />
<script type="text/javascript" src="./jquery-3.1.0.js"></script>
<script type="text/javascript" src="./plyr-2.0.7.js"></script>
<script type="text/javascript" src="./rangetouch-0.0.9.js"></script>
<script type="text/javascript" src="./webvtt-subtitler-0.1.js"></script>
<script type="text/javascript" src="./docs.js" defer></script>
</head>
<body>
<header>
<h1>Media-Plyr</h1>
<p>A local subtitle-capable media player that powered by <a href="https://plyr.io">Plyr</a> for all devices.</p>
</header>
<main>
<section class="selector">
<p class="source">
<span class="btn btn--large btn--primary btn--file">Browse local media file <input type="file" name="source" accept="video/*,audio/*" /></span>
<span class="btn btn--large btn--primary btn--url">Load media URL <input type="text" name="source" placeholder="http(s):// or YouTube or Vimeo ID" /></span>
</p>
<p class="track">
<span class="btn btn--file">Browse local subtitle file <input type="file" name="track" accept=".ass,.ssa,.srt,.vtt" /></span>
</p>
<p><small id="status"></small></p>
</section>
<section class="video">
<div class="js-media-player">
<video controls crossorigin></video>
</div>
</section>
<p class="video"><small><a id="up">Scroll up</a></small></p>
<section class="audio">
<div class="js-media-player">
<audio controls></audio>
</div>
</section>
</main>
<footer>
<p>Powered by <a href="https://plyr.io">Plyr</a></p>
</footer>
</body>
</html>