ian Posted March 23, 2017 Share Posted March 23, 2017 https://www.dropbox.com/s/l2l67aququd7she/Patch.babylon?dl=0 or https://ajna4taiga.no-ip.org/BabylonBall/Patch.babylon Hire is playground which doesn't work ok any more http://www.babylonjs-playground.com/#CKEHJ#1 orhttp://www.babylonjs-playground.com/#CKEHJ#3 How can I load my .babylon file from dropbox or my server? This code has worked. What is goging on now? I see with F12 new problem XMLHttpRequest cannot load https://ajna4taiga.no-ip.org/BabylonBall/Patch.babylon. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.babylonjs-playground.com' is therefore not allowed access. But this things has worked before. How can I make this example to work again? Any alternatives? (I also try like this http://www.babylonjs-playground.com/#YEKUO#1 set data (copy/paste from .babylon file) but here is problem with string of data ! I try \" and \' also but no luck.) I would like to make some playground to ask something and I can't meke playground to load .bayblon file. Greetings Ian Quote Link to comment Share on other sites More sharing options...
davrous Posted March 23, 2017 Share Posted March 23, 2017 Hello, You need to setup access-control-allow-origin property on your assets. This is part of the CORS principles on the web. You can read a similar topic on this here: David Quote Link to comment Share on other sites More sharing options...
adam Posted March 23, 2017 Share Posted March 23, 2017 This is a CORS issue. https://enable-cors.org/ Quote Link to comment Share on other sites More sharing options...
ian Posted March 23, 2017 Author Share Posted March 23, 2017 I know that I should setup http server. But I know it worked before with Dropbox. I think Dropbox add ?dl=0. Because I know this playground had worked. I will not set up my http server I have no time Quote Link to comment Share on other sites More sharing options...
adam Posted March 23, 2017 Share Posted March 23, 2017 You are describing a dropbox issue. I quickly found this with a simple google search. https://www.dropboxforum.com/t5/Sharing-and-collaboration/My-public-links-are-no-longer-working/m-p/211934 ian 1 Quote Link to comment Share on other sites More sharing options...
ian Posted March 23, 2017 Author Share Posted March 23, 2017 Maybe I can try GitHub. Quote Link to comment Share on other sites More sharing options...
ian Posted March 23, 2017 Author Share Posted March 23, 2017 Perfect for me (maybe for anybody .babylon file on public githubhttp://www.babylonjs-playground.com/#CKEHJ#4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.