External URL call doesn't work right

Q&A about the latest versions
Post Reply
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

External URL call doesn't work right.

I prepared a project with calling links as the external URL link due creating the universal buttons for the project not bothering in what subfolder the data is.
It worked before – always since I use P2VR – that is over decade but now it makes me crazy or is so trivial that I can't see the wrong settings...
Here it is the example: http://www.burger.si/Canada/NewBrunswic ... River.html

When I click to the bottom right text “avtor: Boštjan -Burger, 2016” the link is displayed right, but when I click on upper left link “CANADA” I recevive error as http://www.burger.si/Canada/NewBrunswic ... anada.html was wrong diplayed
It should be without the prefix “http://www.burger.si/Canada/NewBrunswic ... River.html” which was not even set as in the action
but should be the last part: www.burger.si/Canada/Canada.html

The action was standard I used since the pano2VR 3...


Action was with all “calls” same that is
Go to URL
URL: www.wantedaddress (in this case e.g. www.burger.si/Canada/Canada.html )
target: _self

I tried with all other options “just in case” but … “nada”.

I triple checked everything and as I said “must be so trivial” that I can't see the error... any suggestions...?
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Bostjan,

Taking a look at your skin.js, in your bottom right link the code in the skin is:

this._text_20.onclick=function (e) {
me.player.openUrl("http:\/\/www.burger.si\/uvod\/nagovor.html","_self");

On your top right the code in the skin is

this._image_1.onclick=function (e) {
me.player.openUrl("www.burger.si\/Canada\/index.html","_self");

I'd try putting in the http and see what happens.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

tx... will try. But interesting as I copy-pasted urls from browser in all cases... and the action editor shows without http in all cases too... will enter manually with xml editor.
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

True... missing "http://" was the reason of not linking. Tx...Tony!
Post Reply