javascript - "Cross origin requests are only supported for HTTP." error when loading a local file -


i'm trying load 3d model three.js jsonloader, , 3d model in same directory entire website.

i'm getting "cross origin requests supported http." error, don't know what's causing nor how fix it.

my crystal ball says loading model using either file:// or c:/, stays true error message not http://

so can either install webserver in local pc or upload model somewhere else , use jsonp , change url http://example.com/path/to/model


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -