Got To URL > Mobile Device problem
Posted: Tue Apr 08, 2014 8:55 am
Hi Everyone,
I have recently been getting back into Virtual Tours and the first project I took on was for a multi scene tour with HTML5.
I have practically got everything working except for the following error on mobile devices (ipad and iphone) when clicking on links which use a go to url action. "error: Network_ERR: XMLHttpRequest Exception 101" This error does not happen when using a desktop browser and the tour works as intended.
Here is a quick summary, along with 2 links and I have also attached the skin file.
The URL is a full URL path and is hosted on a remote web server. I have narrowed the problem down a little bit to the point I can get it working without putting the "www" in the URL when you load the webpage as well as not putting it in the go to URL action URL. Please see 2 below samples of the same link but with and without the www. I have also tried both targets _self and _blank with the same problem occurring.
This works on every desktop browser I have tested but the links in the drop down menu don’t work on an iPad
http://www.foxhangers.co.uk/virtualtour ... orama.html
Now try this URL, which is the same but without the www. This one appears to work fine on the iPad
http://foxhangers.co.uk/virtualtours/ar ... orama.html
I have tried combinations of using and not using www but the problem is I don't know what a website visitor will type into the browser so I can't determine if they will need it to have www or not in the go to URL path.
Has anyone else had a similar problem or can you see any faults in my skin file?
I have attached the skin file for you to take a look at in case you can see anything glaringly obvious, to be honest I’m a bit rusty in general on the skin templates as it’s been a couple years since I was heavily creating these on a regular basis so any help would be much appreciated. You will find the Go To URL Actions on the menu_button_x rectangles where x is replaced for each button in the menu with a,b,c,d,e,f,g,h
These buttons should open the next scene inside the existing template so not sure if it's best to use go to url or open next panorama for this.
Any help would be very much appreciated.
PS. I just edited this post as I have just noticed the www. link is not working on desktops either now, I must have had a cache issue when testing this the other day. The error I now get on desktop browser is
"Error:[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.foxhangers.co.uk/virtualtour ... _player.js :: pano2vrPlayer/b.readConfigUrl :: line 94" data: no]"
Thanks in advance
I have recently been getting back into Virtual Tours and the first project I took on was for a multi scene tour with HTML5.
I have practically got everything working except for the following error on mobile devices (ipad and iphone) when clicking on links which use a go to url action. "error: Network_ERR: XMLHttpRequest Exception 101" This error does not happen when using a desktop browser and the tour works as intended.
Here is a quick summary, along with 2 links and I have also attached the skin file.
The URL is a full URL path and is hosted on a remote web server. I have narrowed the problem down a little bit to the point I can get it working without putting the "www" in the URL when you load the webpage as well as not putting it in the go to URL action URL. Please see 2 below samples of the same link but with and without the www. I have also tried both targets _self and _blank with the same problem occurring.
This works on every desktop browser I have tested but the links in the drop down menu don’t work on an iPad
http://www.foxhangers.co.uk/virtualtour ... orama.html
Now try this URL, which is the same but without the www. This one appears to work fine on the iPad
http://foxhangers.co.uk/virtualtours/ar ... orama.html
I have tried combinations of using and not using www but the problem is I don't know what a website visitor will type into the browser so I can't determine if they will need it to have www or not in the go to URL path.
Has anyone else had a similar problem or can you see any faults in my skin file?
I have attached the skin file for you to take a look at in case you can see anything glaringly obvious, to be honest I’m a bit rusty in general on the skin templates as it’s been a couple years since I was heavily creating these on a regular basis so any help would be much appreciated. You will find the Go To URL Actions on the menu_button_x rectangles where x is replaced for each button in the menu with a,b,c,d,e,f,g,h
These buttons should open the next scene inside the existing template so not sure if it's best to use go to url or open next panorama for this.
Any help would be very much appreciated.
PS. I just edited this post as I have just noticed the www. link is not working on desktops either now, I must have had a cache issue when testing this the other day. The error I now get on desktop browser is
"Error:[Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://www.foxhangers.co.uk/virtualtour ... _player.js :: pano2vrPlayer/b.readConfigUrl :: line 94" data: no]"
Thanks in advance