You are not logged in.

1

Thursday, February 7th 2013, 11:33am

String in url to change the first scene

Hi, i have a vtour with 10 scenes, how i can load a specific scene from a link in my webpage?

I need that this can work in swf and html5, on desktop and on mobile or tablet.

something like www.mysite.xyz/tour.html?tour=mystarttour

Thanks.

This post has been edited 2 times, last edit by "grollaz" (Feb 8th 2013, 12:41am)


2

Friday, February 8th 2013, 12:40am

any suggestions?

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

3

Friday, February 8th 2013, 8:44am

Hi!
take a look here
http://www.krpano.com/forum/wbb/index.ph…d&threadID=8177 (it's just show how)

or here
http://www.krpano.com/plugins/userplugins/swfaddress/#top


Andrey *thumbup*

PS
one more way, use variables set from js in embedpano
set blablavars
exm: var blablavars = { "yourxmlvar":"value", "var2":"value2" }
add vars:blablavars in a row
then you can use it in xml actions
for exm:
<krpano onstart="if(yourxmlvar == value, dosomething() );">



.
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

4

Wednesday, February 13th 2013, 2:25pm

something like tour.html?tour=mystarttour
just do:
tour.html?startscene=mystarttour