-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (64 loc) · 2.59 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
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="internet.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CS553 Project</title>
</head>
<body>
<h1>I solemnly swear that I am up to no good!</h1>
<button id="webcamButton" class = "button">Start the magical devices that see and hear you!</button>
<div class="videos-container">
<div class="video-item">
<h2>You</h2>
<video id="webcamVideo" autoplay playsinline muted></video>
</div>
<div class="video-item">
<h2>Not You</h2>
<video id="remoteVideo" autoplay playsinline></video>
</div>
</div>
<div id="buttons-container">
<div class="buttons-set">
<div class="buttons-pair">
<button id="videoButtonOn" class = "button" disabled>Video On</button>
<button id="videoButtonOff" class = "button" disabled>Video Off</button>
</div>
<div class="buttons-pair">
<button id="audioButtonOn" class = "button" disabled>Unmute</button>
<button id="audioButtonOff" class = "button" disabled>Mute</button>
</div>
</div>
<div class="buttons-set">
<button id="hangupButton" class = "button" disabled>Michief Managed!</button>
</div>
</div>
<!-- <hr style= 'margin: 50px 0px'> -->
<img src = 'hp-line.png' style = 'filter: invert(100%); margin: 50px 0px'>
<!-- <br> -->
<!-- <h2>Feeling lonely? Send this code to your friend (by owl, of course!)</h2> -->
<div id="connection-container">
<div class="connection-item">
<span style = 'font-size: 30px'>Feeling lonely?</span>
<br>
<span style = 'font-size: 30px'>Send an owl to your friend with this secret code:</span>
<br><br>
<button id="callButton" class = "button" disabled>Accio Secret Code!</button>
<input id = "callCode" disabled/>
</div>
<div class="connection-item">
<span style = 'font-size: 30px'>Or wait, do you have the secret from the chambers?</span>
<br>
<span style = 'font-size: 30px'>Enter the secret code your owl just delivered: </span>
<br>
<br>
<input id="callInput" disabled/>
<button id="answerButton" class = "button" disabled>Connect</button>
</div>
</div>
<!-- <h2>Michief Managed:</h2> -->
<!-- <br><br><font color=red>Michief Managed: </font><button id="hangupButton" disabled background-color="red">Hangup</button> -->
<script type="module" src="/main.js"></script>
</body>
</html>