-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (46 loc) · 1.45 KB
/
index.html
File metadata and controls
46 lines (46 loc) · 1.45 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
45
46
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Storm</title>
<link rel="stylesheet" href="./app.css" />
</head>
<body>
<div id="hero">
<div id="output">
<div id="progressBar"></div>
<!-- The video player will be added here -->
</div>
<!-- Statistics -->
<div id="status">
<div className="torrent-status">
<div>
<span class="show-leech">Downloading </span>
<span class="show-seed">Seeding </span>
<span class="show-leech"> from </span>
<span class="show-seed"> to </span>
<code id="numPeers">0 peers</code>.
</div>
<div>
<code id="downloaded"></code>
of <code id="total"></code> — <span id="remaining"></span><br />
↘<code id="downloadSpeed">0 b/s</code> / ↗<code
id="uploadSpeed"
>0 b/s</code
>
</div>
</div>
<div className="brand-container">
Storm
<span id="date"></span>
</div>
</div>
</div>
<!-- Include the latest version of WebTorrent -->
<script src="https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js"></script>
<!-- Moment is used to show a human-readable remaining time -->
<script src="http://momentjs.com/downloads/moment.min.js"></script>
<!-- WebApp -->
<script src="./app.js"></script>
</body>
</html>