<web> GLB file loads locally but not on my website (only in the parent folder) #4644
Replies: 5 comments 2 replies
-
Are you getting a CORS error or a 404 or something else? |
Beta Was this translation helpful? Give feedback.
-
just a blank file section. the bar sometimes appears like trying to loading but the GLB doesn't shows what I did to fix that, I create a PHP file with the GLB in the same folder and I'm calling the PHP file as an embedded page it's slows me down, but it works. don't know why the external link doesn't shows the 3D you can see that the link works for download but doesn't load the GLB maybe it is something with the FTP ? |
Beta Was this translation helpful? Give feedback.
-
Hey @elalish I made some gifs about the problem, look how strange it is... You can see here the example Neil Armstrong model works fine, but my GLB link won't \You might thinking, so the problem is in the GLB, but it works pretty well on my own domain page. But when I try to use the link on my iframe in another domain (wix) it won't works. Only if I embed my .php file, but in this way I lost a little bit of controls and it slow me down a lot. I also know that this might be also an WIX trick, but really don't know what is going on. If you have a moment free try to access I will let for some time with the load link error I'm more designer than dev, so I really don't know how to check the JS console or what is headers server-side |
Beta Was this translation helpful? Give feedback.
-
hey @elalish I think I found what you are trying to let me know... is that what you were talking about? there is a way to unblock that? I have access to the website head / and i have a main.js linked to the body also |
Beta Was this translation helpful? Give feedback.
-
Thanks for your time, man. I changed my course for Sketchfab model viewer for now. I tried to contact my server host admin to see if they can activate the SSL to see if this problem will solve. When they get back to me I will try again. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
someone knows why my GLB file loads on my website only if I call it in a parent folder, like
src="folder/file.glb"
?If i put in my website in another folder and call the
src="www.mywebsite.com/folder/folder/file.glb"
works normally with the example files link extended
maybe is it something with my FTP configuration? Like security / ports?
I appreciate any kind of adivice...
Beta Was this translation helpful? Give feedback.
All reactions