Hi - newbie question

9 views
Skip to first unread message

Turtle Films Studio

unread,
Oct 11, 2025, 7:03:20 AM (9 days ago) Oct 11
to marzipano
Hi,
I just made a tour in Marzipano. It's displaying fine in the app. However when its exported and i run the index.html file all i see are the hotspots with a black background.

How do i use this? I just want to test it. 

The readme says this

The main application file is `app-files/index.html`. Many browsers have issues
when using `file://` URLs. Therefore, to properly view the application it is
necessary to use a web server.

I dont understand this. I dont want to host it.

Thanks in advance

Stephen Sandison

unread,
Oct 11, 2025, 9:49:01 AM (9 days ago) Oct 11
to marz...@googlegroups.com, marzipano
The simplest thing is to download something like xampp as a local web server and run it from localhost. Download xampp. Install xampp. Empty the files in c:\xampp\htdocs. Put your tour files in that htdocs folder and load it from http://localhost in chrome.

On 11 Oct 2025, at 12:03, Turtle Films Studio <turtlefi...@gmail.com> wrote:

Hi,
--
You received this message because you are subscribed to the Google Groups "marzipano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marzipano+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/marzipano/d3550515-2b7c-4309-a58b-70f9b8c0fabbn%40googlegroups.com.

Carlos Eduardo G. Carvalho (Cartola)

unread,
Oct 11, 2025, 10:03:45 AM (9 days ago) Oct 11
to marz...@googlegroups.com
Stephen already gave you one possibility to solve the "problem". In fact this is not a problem, is a security protection. If the browser could access other files in your computer based on what an HTML file is requesting, than any web site would be able to access your private files in your computer. That is the main reason for this behavior, it is a protection.

I asked an AI for another solution besides hosting a web server. I suppose you are on a windows system.

Subject: Solutions for accessing local HTML files with cross-origin requests in Windows

I understand you're facing issues with browsers blocking local file requests due to CORS restrictions. This is a common problem when working with local HTML files that need to access other local resources. Here are several solutions that don't require installing a full web server:

🚫 Why Browsers Block Local File Access

Modern browsers restrict cross-origin requests between local files (`file:///` protocol) for security reasons (CORS policies).

✅ Practical Solutions for Windows

1. Microsoft Edge (Recommended)
- Open **Microsoft Edge**
- Go to `edge://flags/`
- Search for: **"Insecure origins treated as secure"**
- Add: `file://*` to the list
- Restart the browser

2. Google Chrome (Temporary Method)
- Close all Chrome instances
- Open Command Prompt as Administrator
- Run:
cmd
chrome.exe --allow-file-access-from-files --disable-web-security --user-data-dir="C:/ChromeDevSession"

3. Firefox
- Type `about:config` in the address bar
- Search for: `security.fileuri.strict_origin_policy`
- Set it to **false**

4. VS Code Live Server Extension
- Install VS Code
- Install the **"Live Server"** extension
- Right-click your `index.html` → "Open with Live Server"
- This automatically creates a local server

5. Python Simple Server
Open Command Prompt in your project folder and run:
cmd
python -m http.server 8000
Then access: `http://localhost:8000`

🎯 Recommended Approach

I'd suggest using **Microsoft Edge with the flag modification** or the **VS Code Live Server extension** - these are the most practical and secure solutions for local development.

Hope this helps! Let me know if you need any clarification on these steps.

Best regards,

Carlos E G Carvalho (Cartola)
http://cartola.org/360
http://www.panoforum.com.br/


--

Stephen Sandison

unread,
Oct 12, 2025, 1:42:03 AM (9 days ago) Oct 12
to marz...@googlegroups.com
I’m not the person who asked for help. I’m the person that responded to the person that asked for help. 

On 11 Oct 2025, at 15:03, Carlos Eduardo G. Carvalho (Cartola) <cart...@gmail.com> wrote:



Mortech GH

unread,
Oct 13, 2025, 9:34:39 PM (7 days ago) Oct 13
to marz...@googlegroups.com
Make sure you are connected to the internet(stable internet connection) and try again(open .html file again)...... or host it in a free server and retry the url...

--
Reply all
Reply to author
Forward
0 new messages