-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver.html
More file actions
65 lines (50 loc) · 1.64 KB
/
Copy pathserver.html
File metadata and controls
65 lines (50 loc) · 1.64 KB
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
<!--
/**
* @author crazyh / https://github.com/crazyh2
*/
-->
<!DOCTYPE html>
<html lang="en">
<head>
<title>CardiVR Server</title>
<link rel="shortcut icon" type="image/png" href="./assets/logos/images/logo.png">
<link rel="icon" type="image/png" href="./assets/logos/images/logo.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
<link rel="stylesheet" href="./styles/style.css">
<style>
#canvas, #cameraFeed {
position: fixed;
top: 0;
left: 0;
z-index: 3;
};
#canvas {
z-index: 4 !important;
}
#cameraFeed {
left: -46px !important;
}
</style>
</head>
<body>
<div id="wrapper">
<div style="display: none;" id="vr-group">
<div id="info-msg">CardiVR Server</div>
<div id="container"></div>
</div>
<div id="app-group">
<div></div>
<img src="./assets/logos/images/logo.png">
<h1>CardiVR</h1>
<button class="setupController">Setup Controller</button>
</div>
</div>
<video id="cameraFeed" width="800" height="530" playsinline autoplay muted></video>
<canvas id="canvas" width="800" height="530"></canvas>
<script src="./socket.io/socket.io.js"></script>
<script src="./libraries/tracking.js"></script>
<script type="module" src="./server/serverScript.js"></script>
</body>
</html>