html5 won't work with chrome

Q&A about the latest versions
Post Reply
kasenyee
Posts: 63
Joined: Fri Apr 19, 2013 3:36 pm

Howdy Folks

Anyone having problems using html5 output with google chrome? When ever i try to load my tour (on a mac or PC) in chrome, I get the fallowing message

"JavaScript Alert
Error:NetwrokError: A network error occurred."

the skin loads but the pans won't load.

thanks folks

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

HI,
Open the project through Pano2VR.
Chromes local security will not allow access to xml files.
The way around this is to select "embed xml" found under the HTML tab of the HTML5 output.
This embeds the xml data in the HTML page allowing for opening the page bypassing the restriction.
Regards,
Martin
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/
kasenyee
Posts: 63
Joined: Fri Apr 19, 2013 3:36 pm

Hey Martin

thanks for that tip. It's cut out the error notice and the skin loads fine, but the images won't load: it's just blank and black. This problem is also just in chrome, works fine in safari and firefox.

Thanks again!
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
When you open the project from the application copy the URL in the default browser then past into Chrome.
Thats assuming Chrome is not your default browser.
Let me know how you get on.
Regards,
Hopki
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/
BParker
Posts: 78
Joined: Mon Jan 07, 2013 10:08 am
Location: Redlands, CA
Contact:

I have the same issue with Chrome displaying a black screen when opening an html 5 ".html" file on my local disk. It works fine if the html 5 is on my web site and it also works fine if I paste in the localhost URL the Pano2VR view option generates (as you suggested). I have found I can open the local html 5 (so long as the embed xml option was used) using Internet Explorer, so I have just been using that when I need to view a file locally.

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

Hi Ben,
Have a look at this tip, this explains why you are seeing all black in Chrome.
Regards,
Hopki
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/
BParker
Posts: 78
Joined: Mon Jan 07, 2013 10:08 am
Location: Redlands, CA
Contact:

Hopki:

Thanks. That looks like it would work well on my local machine that has Pano2VR installed. There is another case that comes up though. Just this week I put a few html5 panoramas on a CD and sent them to an acquaintance who wanted to have a local copy of them. He doesn't have Pano2VR so I don't think he can use this local server technique. I'm not sure he'll be able to open them with Chrome but I'm hoping Internet Explorer will work for him.

Other than this issue and having to jump through a few hoops to get the equivalent of the "flat file" Flash output, I have to say I'm very impressed with html5 as represented in the latest Pano2VR Beta. My website is still all Flash but I'm planning on everything new I post there being multi-resolution html5.

Thanks again!
Ben
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

In the HTML5 output and under the HTML tab select embed XML.
The XML data will now be embedded in the HTML page so should open up ok,
Regards,
Hopki
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/
Alain
Posts: 46
Joined: Tue Apr 02, 2013 12:08 pm

If I understand everything right:
With Chrome but without Pano2VR installed you cannot view a tour locally ?

Kind regards
Alain
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Alain,
With Chrome correct.
This is down to Chromes local file security.
However you can use our Package Player and drag the output folder in the player to view.
Regards,
Hopki
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/
Post Reply