Skip to content

Commit 74c4181

Browse files
committed
removing proxy paths
1 parent f5efd21 commit 74c4181

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

aframe/examples/image-tracking/nft-video/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
marker.addEventListener('markerFound', function () {
1313
this.vid.play();
1414
}.bind(this));
15-
15+
1616
marker.addEventListener('markerLost', function() {
1717
this.vid.pause();
1818
this.vid.currentTime = 0;
@@ -53,15 +53,15 @@
5353
embedded arjs='trackingMethod: best; sourceType: webcam; debugUIEnabled: false;'>
5454

5555
<a-assets>
56-
<video src="https://cors-anywhere.herokuapp.com/https://www.w3schools.com/html/mov_bbb.mp4"
56+
<video src="mov_bbb.mp4"
5757
preload="auto" id="vid" response-type="arraybuffer" loop
5858
crossorigin webkit-playsinline autoplay muted playsinline>
5959
</video>
6060
</a-assets>
6161

6262
<a-nft
6363
videohandler
64-
type='nft' url='https://arjs-cors-proxy.herokuapp.com/https://raw.githack.com/AR-js-org/AR.js/master/data/dataNFT/pinball'
64+
type='nft' url='../../data/dataNFT/pinball'
6565
smooth="true" smoothCount="10" smoothTolerance="0.01" smoothThreshold="5"
6666
>
6767
<a-video
770 KB
Binary file not shown.

aframe/examples/image-tracking/nft/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636

3737
<!-- use rawgithack to retrieve the correct url for nft marker (see 'pinball' below) -->
3838
<a-nft
39-
type='nft' url='https://arjs-cors-proxy.herokuapp.com/https://raw.githack.com/AR-js-org/AR.js/master/aframe/examples/image-tracking/nft/trex/trex-image/trex'
39+
type='nft' url='../trex/trex-image/trex'
4040
smooth='true' smoothCount='10' smoothTolerance='0.01' smoothThreshold='5'>
4141
<a-entity
42-
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'
42+
gltf-model='../trex/scene.gltf'
4343
scale="5 5 5"
4444
position="50 150 -100"
4545
>

0 commit comments

Comments
 (0)