Best way to use playground with external ressources

Recommended Posts


First, thanks for the great job for Babylon.js.
Powerfull engine, very well documented, with many examples...
Playground, is also a very great environement.

I have exported .babylon file using 3ds max, all is ok.
On the sandbox (, I can load my file. It's ok.

Now I would like to use Playground with my file.
I try to load local file from my computer, but I understand that it cannot.
Then I upload my file on a web server, and I use this url (http), and I have an error, because it's not https.
So I setup my web server to use https, and now I have the following error :

"Access to XMLHttpRequest at 'https://xxx/myFile.babylon' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

My goal is to use the playground with my file. What is the easiest way please ?

Thanks for advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.