- Home /
WebGL on file:///
Hello :)
is it possible to create webgl builds that do not require a webserver to run? I would like to open the data locally, for example on an Android Tablet loading from the SD Card, or embedded inside a web-app reading from the assets folder. Thank you
Answer by Schubkraft · Apr 21, 2015 at 09:51 AM
We only support desktop browsers at the moment. That being said some browsers let you configure them to be able to load from file://
For example Chrome has a flag "--allow-file-access-from-files" for this. Maybe your browser has something similar.
Thanks! For some reason I did not think of that switch. It's pretty awesome and it should work for web apps encapsulated into webviews.
Your answer
Follow this Question
Related Questions
Accessing local system ( File Browser ) 2 Answers
How can I bypass CORS with Unity WebGL? 3 Answers
Accessing Local Computer Files 2 Answers