Wordpress Plugin - External Links to Amazon S3 - File Won't Load

Perhaps try clearing your WP cache(s) too ? That model loads fine here with no CORS issues https://playground.babylonjs.com/#QYK44J so something unique to your setup

1 Like

Nope, clearing the caches didn’t work.

I also posted the demo on another site of mine and that doesn’t work either.

https://astraeusaerials.com/3d-model-test/

When I load that page, I don’t see any failed requests, or glb/gltf downloads

So you see the model working on that page? Screenshot?

I meant I don’t see any failed requests ( CORS etc ) but also its not trying to download any glb or gltf at all. No console errors that I see either.

Called my hosting to check if anything might be blocking these files and they said there isn’t anything preventing the files from being loaded.

I’m out of ideas, but does anyone know if the plugin needs to be updated?

I am sure that plugin version is not related to this issue.
Also, I am sure that it is something related to some hosting settings or, probably, domain settings.
You may try to install your Wordpress site to the localhost (with the help of Duplicator or similar plugin) and check if the problem persists.

Host says there are no issues on their end. What domain settings would be responsible for blocking these files from loading?

Ok, so apparently there’s something about the “long code” (found here: https://igiuk. com/babylon-3d-wordpress/3d-examples/cornell-box/ ) that isn’t working.

When using the shortcode, all of the files hosting externally now load, see the first 3 demos here:
https://members.nehssie.com/site-000271-demo/

The 4th and 5th examples on that page are the “long code” and do not work.

It’s likely that the CORS code provided by @br-matt helped.

Thank you all for the help.

Plugin Suggestion:
It would be great to have some of the control options added to the plugin and available to use with the shortcode.

In this case it would deal with Wordpress database which I would like to avoid in order to keep the plugin as minimal as it can be.

Anyway, I’ve never met your CORS issue at any other servers.
As for “long code” examples, they work well for me and other people; I believe there could be something wrong with your usage of it but there is no chance (and time as well) to check and correct :slight_smile: