r/HTML • • 4d ago

Adding a virtual tour to my website

Would anyone be able to help me add a 360 tour to my website through HTML? make them in Gadot and I'm histing it from Hostinger then want to point it there on Wordpress.

0 Upvotes

10 comments sorted by

2

u/DirtAndGrass 4d ago

Tour of what? A house? 

-2

u/maryo22333 4d ago

Does it matter what it's a tour of?

2

u/specific_hammock 4d ago

Export as WebGL from Godot and embed with an iframe. Works the same for houses, planets, whatever.

0

u/maryo22333 2d ago

How do I get the iframe?

1

u/specific_hammock 1d ago

The Godot export gives you an index.html. Upload the whole folder to your host, then use an iframe like iframe src='yoururl' width='100%' height='600'

1

u/Individual_Soft3318 2d ago

Codex

0

u/maryo22333 2d ago

What?

1

u/Individual_Soft3318 2d ago

Use Codex (ChatGPT) or Claude Code.

1

u/ParsonsHosting 4d ago

Maybe I can help?

The easiest way is to treat the tour like any other web page and then show it inside your page.

  1. Export your Godot project for Web (HTML5). That gives you a folder with an index.html and a few other files.
  2. Upload that whole folder to your hosting, for example into a folder named tour, so it opens at yourdomain.com/tour/. Open that address first to make sure it works on its own.
  3. In WordPress, edit the page, add a Custom HTML block, and paste: <iframe src="/tour/" width="100%" height="600" style="border:0;" allowfullscreen></iframe>
  4. Update the page and test it on your phone as well. If the tour doesn't load, check that the folder name in the address matches exactly, and look for a message in your browser's developer console. Godot web exports can need extra server settings, so post what you see and I can help from there.

Did this work for you?