google / marzipano

A 360° media viewer for the modern web.
http://www.marzipano.net
Apache License 2.0
1.95k stars 992 forks source link

Unable To Open Index.html file in Chrome Browser #468

Open aditya5867 opened 1 month ago

aditya5867 commented 1 month ago

I am unable to view Marzipano-generated panorama images in an index.html file format using the Chrome browser. The file opens correctly in Microsoft Edge after I go to Settings > Default Browser, paste the file path there, and allow it. After refreshing the page, the index.html file displays correctly in Microsoft Edge. However, it does not work in the Chrome browser. What settings should I adjust in Chrome to view the index.html file correctly?

campmdabt commented 1 month ago

Sounds like Edge is just allowing you to load a file without a local server, which it really shouldn't be. So what you're seeing on Chrome is expected behavior.

You need to use a local file server to serve your content at a port on your local pc, and you'll be able to access it in your browser at something like https://localhost:12345/

Check this thread: https://groups.google.com/g/marzipano/c/G-w2d6vXDiA/m/8I9CoZW-CAAJ