You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, April 13th 2019, 10:03am

Tour always starts from first scene

Hi everybody!
I've created a tour with 6 scenes, copied / pasted scene specific links with deeplinking, if i try to open a scene different from the first it automatically change the url to the first scene and open it, no way to directly jump to other scene via url.What's wrong? (for sure i made some mistakes, i've no skills *sad* ).
Help me! *confused*
theleeto has attached the following file:
  • tour.xml (10.49 kB - 10 times downloaded - latest: Apr 26th 2019, 8:24pm)

2

Saturday, April 13th 2019, 11:38am

you must enable passQueryParameters in the embedding call
(index/tour.html)

https://krpano.com/docu/html/#passQueryParameters

3

Saturday, April 13th 2019, 11:48am

Hi!
Thank you for the answer, is already set on TRUE *huh*
theleeto has attached the following image:
  • Annotazione.jpg

PanLUX

Beginner

Posts: 22

Location: Zagreb, Croatia

  • Send private message

4

Sunday, April 14th 2019, 12:40pm

Source code

1
2
 <a href="../index.html?startscene=scene_Roero_Canale_2">Roero Canale 2</a>
 <a href="../index.html?startscene=scene_Sacra_di_San_Michele">Sacra di San Michele</a> 


Edit:

Sorry, @theleeto, I didn't read your question carefully

This post has been edited 1 times, last edit by "PanLUX" (Apr 14th 2019, 6:58pm)


5

Sunday, April 14th 2019, 3:58pm

hm, maybe add_hotspot.xml overwrites the action startup?

i would add
trace("startscene=",startscene); at the beginning of startup();
to see if query parameter passing works and if startup() is executed