-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
29 lines (26 loc) · 913 Bytes
/
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
<html>
<head>
<title>globalWarming_v1</title>
<style>body { margin: 0; }</style>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<script src='https://cdn.jsdelivr.net/npm/webvr-polyfill@latest/build/webvr-polyfill.js'></script>
</head>
<body>
<!-- Attachment point for your app -->
<div id="container"></div>
<script src="./client.bundle?platform=vr"></script>
<script> var polyfill = new WebVRPolyfill({YAW_ONLY: true,K_FILTER: 1});</script>
<script>
// Initialize the React 360 application
React360.init(
'index.bundle?platform=vr&dev=true',
document.getElementById('container'),
{
assetRoot: 'static_assets/',
}
);
</script>
</body>
</html>