You are not logged in.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,186

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

1

Thursday, December 9th 2010, 3:14pm

direct linking to pano from tour

Hi i try to direct link to a pano from a tour..

http://www.virtualtuur.com/Lobbes_2/P/vi…no=../nl/2.xml&

that works .. doesn't it? here it does..

but why not on idevices? or does it (??)

and what to do to make it work on idevices, with the direct linking methode..

and is there a way to make, using this methode, the hotspots invisible??

what should i add in the url?

Thanx *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,186

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

2

Wednesday, December 15th 2010, 10:24am

answere by Klaus,

Hi,

you are linking directly to the Flash SWF file:

http://www.virtualtuur.com/Lobbes_2/P/vi…no=../nl/2.xml&

and there is no Flashplayer on the iDevices, so that can't work,

to get it working you need to link to a HTML where either
the krpano Flash or the krpano Javascript viewer will be embedded,
e.g. do that by using the default krpano html files (with the
swfkrpano.js script)

for passing the parameters from the url to the krpano viewer,
there is the passQueryParameters() function:

http://krpano.com/docu/swfkrpanojs/#passqueryparameters


about hotspots - on the Flash viewer it would be possible by:

hotspot.visible=false

but on the Javascript viewer there this doesn't work yet (but soon),
there you would set all hotspots to invisible, either by an action
that loops all hotspots or manually by setting each hotspots,

e.g. here an example action that loops a hotspots and sets them
visible or not:

<action name="showhotspots">
if(%2 != NEXT, set(i,0));
if(i LT hotspot.count,
set(hotspot[get(i)].visible,%1);
inc(i);
showhotspots(%1,NEXT);
);
</action>

to use it:

showhotspots(false);

or

showhotspots(true);

best regards,
Klaus


Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

This post has been edited 1 times, last edit by "Tuur" (Dec 15th 2010, 11:11am)