-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (33 loc) · 1.14 KB
/
index.html
File metadata and controls
33 lines (33 loc) · 1.14 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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>WebXR Experiments</title>
<style>
p {
font-size: 4em;
}
</style>
<script>
// WebXR requires HTTPS, so the site doesn't work if someone manually enters
// the URL and ends up using HTTP. To work around this, force redirect from
// http to https for non-localhost addresses.
if (window.location.protocol == "http:" &&
window.location.hostname != "localhost" &&
window.location.hostname != "127.0.0.1" &&
window.location.hostname != "[::1]") {
window.location = window.location.href.replace('http:', 'https:');
}
</script>
</head>
<body>
<p>
<a href="ar/ar.html">AR with markers (AR.js 1.0)</a> <br/>
<a href="arGPS/index.html">Geolocation AR (AR.js 2.0)</a> <br/>
<a href="AframeAR/index.html">AframeAR</a> <br/>
<a href="Cardbord/index.html">Cardbord</a><br/>
<a href="Model-Viewer/Model-Viewer.html">Model-Viewer demo</a><br/>
<!--<a href="Vive/index.html">Vive</a><br/>-->
</p>
</body>
</html>