File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
aframe/examples/image-tracking Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 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 ;
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
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments