I'm currently attempting to load a gltf model into my Aframe scene from Google Drive like this:
<a-entity gltf-model="url(https://drive.google.com/uc?export=view&id={redacted})"></a-entity>
But I'm getting the following error:
Access to XMLHttpRequest at 'https://drive.google.com/uc?export=view&id={redacted}' from origin 'http://localhost:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I'm using a python SimpleHTTPServer configured to allow CORS from here: https://gist.github.com/mkows/cd2122f427ea722bf41aa169ef762001
When I upload an image to google drive and attempt to load that using
<img src="https://drive.google.com/uc?export=view&id={redacted}" />
the image loads fine.
What could be wrong?