-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (69 loc) · 1.57 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!doctype html>
<meta charset="utf-8">
<title>Watch Together</title>
<link rel="stylesheet" href="vendor/open-sans/css/open-sans.css">
<link rel="stylesheet" href="vendor/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="css/main.css">
<script src="vendor/lodash/lodash.js"></script>
<script src="vendor/jquery/dist/jquery.js"></script>
<script src="vendor/peerjs/peer.js"></script>
<script src="js/main.js"></script>
<div class="video-container">
<video
src="http://clips.vorwaerts-gmbh.de/big_buck_bunny.webm"
controls>
</video>
</div>
<div class="overlays">
<div class="chat-container">
<div class="chat-message-list">
</div>
<input
class="chat-message-input"
type="text"
autofocus
autocomplete="off"
>
</div>
<div class="info-container">
<div class="slider">
<p>
Your file:
<button class="choose-file btn btn-sm btn-default" onclick="w2g.chooseFile()">
Choose
</button>
</p>
<div class="show-when-disconnected">
<p>
Session URL:
<span class="session-url">
Connecting...
</span>
</p>
</div>
<div class="show-when-connected">
<p>
Peer's file:
<span class="peers-file">
None
</span>
</p>
<p>
Peer's playback time:
<span class="peer-time">0</span>s
(<span class="lag">+0</span>s)
</p>
<p>
Ping:
<span class="ping">0</span>ms
</p>
</div>
<input
class="go-fullscreen-button btn btn-sm btn-default"
type="button"
onclick="document.body.requestFullscreen()"
value="Go fullscreen!"
>
</div>
</div>
</div>