Use a different domain in URL GGPKG

Q&A about the latest versions
Post Reply
Howard
Posts: 209
Joined: Wed Jun 03, 2009 5:58 am

Is there a reason why I cannot seem to use a different domain when using the URL GGPG shortcode in a WordPress site?

[ggpkg url='https://dronevr.allaroundnevada.com/wp- ... churchPond' start_preview='false' gyro='true' width='100%' height='600']

The above code works fine. It's embedding a pano on my WP site, https://dronevr.allaroundnevada.com, and the files are located in the same domain.

While this code, using a pano from a different WP site, does not work on the droneVR site.
[ggpkg url='https://allaroundnevada.com/wp-content/ ... /combined/ start_preview='false' gyro='true' width='100%' height='600']

Does the GG plugin require that panos can only be embedded from the same domain as the WP site?

Thank you,

Howard
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Howard,
When you open your word press site, what does the error console say.
My guess you may something like cross origin issue, known as a CORS.
The server that has the files needs to have permission to share them.
But your browser will tell you what the problem is.
Do you have a link to the page where is is not showing?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Howard
Posts: 209
Joined: Wed Jun 03, 2009 5:58 am

Thanks for your reply, Hopki.

You can see the issue here:
https://dronevr.allaroundnevada.com/tes ... omain-url/

No warning. The map and the toolbar load, but the opening VR seems stuck on the "loading bar."

Howard
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Howard,
Yep, it's a CORS issue, please see the browser's error console report.

Screenshot 2023-08-11 at 09.05.25.png
Screenshot 2023-08-11 at 09.05.25.png (88.59 KiB) Viewed 3062 times

You need to get your hosting provider to allow cross-origin resource sharing on the server that holds the data.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Howard
Posts: 209
Joined: Wed Jun 03, 2009 5:58 am

Thanks, Hopki.

I just returned from a long vacation, w/no laptop (a first for me).

So...now I'll see if I can get this resolved.

Howard
Post Reply