Unable to fetch a gltf model stored in a firebase db using a-entity
akashkiran1996 opened this issue · 0 comments
akashkiran1996 commented
I am creating a marker based project which scans the marker and deploys the gltf model associated with it from a database but i am getting a 404 error while trying to access the gltf content
Here below is my code :
<!doctype HTML>
<a-marker preset='hiro'>
<a-entity gltf-model="https://arjs-cors-proxy.herokuapp.com/https://firebasestorage.googleapis.com/v0/b/trial-a8a7e.appspot.com/o/model_file%2FDuck.gltf?alt=media&token=241263b8-f6cf-4c5e-b645-7096545f079b"></a-entity>
</a-marker>
<a-marker preset='custom' url='https://firebasestorage.googleapis.com/v0/b/trial-a8a7e.appspot.com/o/model_file%2Fpattern.patt?alt=media&token=cc0db5f6-4901-464d-a0f3-a8c918f95ed8'>
<a-entity gltf-model="url(https://firebasestorage.googleapis.com/v0/b/trial-a8a7e.appspot.com/o/model_file%2FBrainStem.gltf?alt=media&token=9979c215-b9bd-4f9b-9731-8e326bf469f9)"></a-entity>
</a-marker>
<a-marker preset='custom' url='https://firebasestorage.googleapis.com/v0/b/trial-a8a7e.appspot.com/o/model_file%2Fpattern-Pic.patt?alt=media&token=6506ba79-777e-48a0-bd69-ecba8f51b96b'>
<a-entity gltf-model="url(https://firebasestorage.googleapis.com/v0/b/trial-a8a7e.appspot.com/o/model_file%2Fmodel.gltf?alt=media&token=b63735d1-486c-49b5-9849-61e571ea542b)"></a-entity>
</a-marker>
<a-entity camera></a-entity>