Skip to content

Commit da87abc

Browse files
authored
Update index.html
1 parent 4f0a97a commit da87abc

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

index.html

+16-22
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
<!DOCTYPE html>
22
<html>
3-
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
4-
<!-- we import arjs version without NFT but with marker + location based support -->
5-
<script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script>
6-
<body style="margin : 0px; overflow: hidden;">
7-
<a-scene embedded arjs>
8-
<a-marker preset="hiro">
9-
<!-- we use cors proxy to avoid cross-origin problems -->
10-
<!--
11-
⚠️⚠️⚠️
12-
https://arjs-cors-proxy.herokuapp.com/ is now offline, Heroku has dismissed all his free plans from November 2022.
13-
You need to host your own proxy and use it instead. The proxy is based on CORS Anywhere (see https://github.com/Rob--W/cors-anywhere).
14-
⚠️⚠️⚠️
15-
-->
16-
<a-entity
17-
position="0 0 0"
18-
scale="0.05 0.05 0.05"
19-
gltf-model="https://arjs-cors-proxy.herokuapp.com/https://raw.githack.com/AR-js-org/AR.js/master/aframe/examples/image-tracking/nft/trex/scene.gltf"
20-
></a-entity>
21-
</a-marker>
22-
<a-entity camera></a-entity>
23-
</a-scene>
24-
</body>
3+
<script src="https://aframe.io/releases/1.3.0/aframe.min.js"></script>
4+
<!-- we import arjs version without NFT but with marker + location based support -->
5+
<script src="https://raw.githack.com/AR-js-org/AR.js/dev/aframe/build/aframe-ar.js"></script>
6+
<body style="margin : 0px; overflow: hidden;">
7+
<a-scene embedded arjs>
8+
<a-marker preset="hiro">
9+
<a-entity
10+
position="0 0 0"
11+
rotation="0 0 0"
12+
scale="0.05 0.05 0.05"
13+
gltf-model="../image-tracking/nft/trex/scene.gltf"
14+
></a-entity>
15+
</a-marker>
16+
<a-entity camera></a-entity>
17+
</a-scene>
18+
</body>
2519
</html>

0 commit comments

Comments
 (0)