mistic100 / Photo-Sphere-Viewer

A JavaScript library to display 360° sphere panoramas.
https://photo-sphere-viewer.js.org
MIT License
1.89k stars 680 forks source link

Doesn't work in IE11 #2

Closed s427 closed 9 years ago

s427 commented 9 years ago

When viewing the documentation page (http://mistic100.github.io/Photo-Sphere-Viewer/) with Internet Explorer 11 (Windows 8.1), the photosphere viewer gets stuck. The loading animation works normally, and then the navigation bar appears, but nothing else. (Screenshot below)

In the console, there's the following error message:

THREE.CanvasRenderer has been moved to /examples/js/renderers/CanvasRenderer.js

I've had the same behavior happening on personal tests (also IE11; works fine with Firefox or Chrome). Hope this helps.

psv-ie11

mistic100 commented 9 years ago

can you try including https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/CanvasRenderer.js ? if it works I'll add a note on the doc saying to include the renderer in addition to core three.js

s427 commented 9 years ago

OK, I included the file, which caused a brand new error to appear:

THREE.Projector has been moved to /examples/js/renderers/Projector.js.

So I also included this file, and now it's working. :-)

mistic100 commented 9 years ago

Thank you