r/HTML • • 1d 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

5 comments sorted by

1

u/DirtAndGrass 1d ago

Tour of what? A house? 

0

u/maryo22333 1d ago

Does it matter what it's a tour of?

1

u/specific_hammock 1d ago

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

1

u/ParsonsHosting 1d 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?