-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaframe360.txt
29 lines (20 loc) · 946 Bytes
/
aframe360.txt
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
<!DOCTYPE html>
<html>
<head>
<!-- <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script> -->
</head>
<body>
<!-- Manhole VR 360 Image code snippet -->
<!-- If possible, place the below line in the <head> tag to ensure a more stable outcome. -->
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<!-- Enter the width and height of the image in the line below-->
<div id="360-image-wrapper" style="height:600px; width:600px">
<a-scene vr-mode-ui="enterARButton: #myEnterARButton" embedded style="margin:0px; padding:0px;">
<!-- Replace the img src with the local file, if using one. -->
<a-sky src="https://manholecollective.com/assets/img/360/360_manhole.jpg" rotation="0 -90 0"></a-sky>
<a id="myEnterARButton" href="#" style="visibility: hidden;"></a>
</a-scene>
</div>
<!-- End of snippet -->
</body>
</html>