-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (51 loc) · 2.08 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Zoom Video SDK</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<script src="./coi-serviceworker.js"></script>
</head>
<body>
<img src="frame.png" alt="join iframe" id="join-iframe">
<div id="loading">
<h2 id="loadingText">Connecting to Orb world</h2>
<h2 id="waitingText">Waiting for Orbs to join</h2>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div id="thanks">
<h2>Thanks for joining!</h2>
<a href="https://developers.zoom.us/docs/video-sdk/?referer=bubbles" class="learn-more" target="_blank">Learn more about Video SDK</a>
<a href="https://tommygaessler.com/bubbles" class="rejoin">Rejoin Orb World</a>
</div>
<div class="controls">
<button onclick="startVideo()" id="videoButton">Start Video</button>
<button onclick="leave()" id="leaveButton">Leave</button>
</div>
<div id="self-view-wrapper">
<p id="instructions">Look for your video on the big screen!</p>
<canvas id="self-view-canvas" width="355" height="200"></canvas>
<video id="self-view-video" width="355" height="200"></video>
<select id="switch" onchange="switchCamera(this)">
<option disabled selected>Switch Camera...</option>
</select>
</div>
<canvas id="zoom-canvas" width="8875" height="200"></canvas>
<!-- <canvas id="zoom-canvas" width="8875" height="200"></canvas>
<button onclick="startVideo()" id="videoButton">Start Video</button>
<button onclick="leave()">Leave</button>
<canvas id="self-view-canvas" width="355" height="200"></canvas>
<video id="self-view-video" width="355" height="200"></video> -->
<script src="https://source.zoom.us/videosdk/zoom-video-1.8.10.min.js"></script>
<script type="text/javascript" src="scripts.js"></script>
</body>
</html>