-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (51 loc) · 2.93 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"></meta>
<title>camwi.re</title>
<link rel="shortcut icon" href="/res/icons/favicon.ico">
<link rel="apple-touch-icon" sizes="57x57" href="/res/icons/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="114x114" href="/res/icons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/res/icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="144x144" href="/res/icons/apple-touch-icon-144x144.png">
<link rel="apple-touch-icon" sizes="60x60" href="/res/icons/apple-touch-icon-60x60.png">
<link rel="apple-touch-icon" sizes="120x120" href="/res/icons/apple-touch-icon-120x120.png">
<link rel="apple-touch-icon" sizes="76x76" href="/res/icons/apple-touch-icon-76x76.png">
<link rel="apple-touch-icon" sizes="152x152" href="/res/icons/apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/res/icons/apple-touch-icon-180x180.png">
<link rel="icon" type="image/png" href="/res/icons/favicon-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/res/icons/favicon-160x160.png" sizes="160x160">
<link rel="icon" type="image/png" href="/res/icons/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/res/icons/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/res/icons/favicon-32x32.png" sizes="32x32">
<meta name="msapplication-TileColor" content="#3e3e53">
<meta name="msapplication-TileImage" content="/res/icons/mstile-144x144.png">
<meta name="msapplication-config" content="/res/icons/browserconfig.xml">
<link rel="stylesheet" href="index.css"></link>
<script type="module" src="index.js"></script>
</head>
<body>
<button id="help-button" onclick="document.getElementById('help').open = !document.getElementById('help').open">?</button>
<dialog id="startDialog" open>
<p>You're about to join the room <span id="roomID"></span>.</p>
<button id="camButton" class="fullWidth" onclick="turnOnCam()">Start Cam</button>
<button id="joinButton" class="fullWidth" onclick="joinRoom()" disabled>Join Room</button>
</dialog>
<dialog id="help">
<h1>Camwi.re Help</h1>
<ul>
<li>Camwi.re is the simplest, browser-based, peer-to-peer video chat platform ever.</li>
<li>Create or join rooms by navigating to http://camwi.re/<b>[room name]</b></li>
<li>Click/tap video stream thumbnails to enlarge them.</li>
<li>Send issues, feedback, and suggestions to <a href="mailto:yousef@amar.io?Subject=Camwi.re%20Feedback">yousef@amar.io</a>.</li>
<li>Donations welcome:</li>
</ul>
<div class="centered">
<img src="https://www.bitcoinqrcodemaker.com/api/?style=bitcoin&address=1Hv6UiXFoFNAAaHvpbgCXxnWNj14v1TPo7" height="100" width="100" border="0" alt="Bitcoin QR Code" />
</div>
<button id="close-button" class="fullWidth" onclick="document.getElementById('help').open = false">Close</button>
</dialog>
<div id="thumbnails">
</div>
</body>
</html>