Page 1 of 1
html5 won't work with chrome
Posted: Wed Apr 23, 2014 12:57 pm
by kasenyee
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
Re: html5 won't work with chrome
Posted: Wed Apr 23, 2014 1:44 pm
by Hopki
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
Re: html5 won't work with chrome
Posted: Wed Apr 23, 2014 3:40 pm
by kasenyee
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!
Re: html5 won't work with chrome
Posted: Thu Apr 24, 2014 12:39 pm
by Hopki
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
Re: html5 won't work with chrome
Posted: Mon Apr 28, 2014 8:44 am
by BParker
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
Re: html5 won't work with chrome
Posted: Wed Apr 30, 2014 10:56 am
by Hopki
Hi Ben,
Have a look at this
tip, this explains why you are seeing all black in Chrome.
Regards,
Hopki
Re: html5 won't work with chrome
Posted: Thu May 01, 2014 4:51 am
by BParker
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
Re: html5 won't work with chrome
Posted: Thu May 01, 2014 9:42 am
by Hopki
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
Re: html5 won't work with chrome
Posted: Thu Jan 26, 2017 6:07 pm
by Alain
If I understand everything right:
With Chrome but without Pano2VR installed you cannot view a tour locally ?
Kind regards
Alain
Re: html5 won't work with chrome
Posted: Sun Feb 05, 2017 6:12 pm
by Hopki
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