-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (43 loc) · 855 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<style>
body {
display: flex;
flex-direction: column;
align-items: stretch;
}
#videoArea {
flex-basis: 50vh;
display: flex;
align-items: center;
justify-content: space-around;
}
video {
max-height: 50vh;
height: 50vh;
}
#displayChat {
height: 30vh;
border: 1px solid lightgray;
overflow-y: scroll;
}
#enterChat {
width: 100%;
}
</style>
</head>
<body>
<div id="videoArea">
<video id="vidLocal" autoplay muted></video>
<button id="btnStart">Start</button>
<video id="vidRemote" autoplay></video>
</div>
<div id="chatArea">
<div id="displayChat"></div>
<input type="text" id="enterChat" placeholder="Chatnachricht eingeben" disabled/>
</div>
<script src="node_modules/socket.io-client/dist/socket.io.js"></script>
<script src="app.js"></script>
</body>
</html>