forked from herkyl/webrtc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (46 loc) · 1.19 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
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript' src='https://cdn.scaledrone.com/scaledrone.min.js'></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<style>
body {
background: #0098ff;
display: flex;
height: 100vh;
margin: 0;
align-items: center;
justify-content: center;
padding: 0 50px;
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
video {
background: white;
background-image: url(https://www.kirupa.com/images/orange_logo_svg.svg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
max-width: calc(50% - 5%);
margin: 0 5%;
box-sizing: border-box;
border-radius: 2px;
padding: 0;
}
.copy {
position: fixed;
top: 25px;
left: 50%;
transform: translateX(-50%);
font-size: 18px;
color: white;
}
</style>
</head>
<body>
<div class="copy">Send your URL to a friend to start a video call</div>
<video id="localVideo" autoplay muted></video>
<video id="remoteVideo" autoplay></video>
<script src="script.js"></script>
</body>
</html>