Skip to content Skip to sidebar Skip to footer

Google-chrome Can't Locally View My WebGL Three.js Webpages In Ubuntu

chrome://gpu shows green for everything and 'WebGL: Hardware accelerated WebGL multisampling: Hardware accelerated' my version is: Google Chrome 31.0.1650.63 and I've set the fla

Solution 1:

The issue is Chrome doesn't allow web pages to read local files. Otherwise the bad guys could make HTML pages, ask you to save them and load them locally and then upload your local files to their sever.

You can override this but I don't recommend it. Rather run your own server. The simplest way is to use python then open a terminal and type

python -m SimpleHTTPServer

Then go to

http://localhost:80000

At some point you'll likely find that has limits (like doesn't support video well) in which case see this answer.

What is a faster alternative to Python's http.server (or SimpleHTTPServer)?


Post a Comment for "Google-chrome Can't Locally View My WebGL Three.js Webpages In Ubuntu"