Hi all,
I'm baffled by a problem I am having with some recently produced tours:
The two examples below contain info hotspots which, when clicked, reveal an image. Everything is fine on all devices except iphones/pads where there are two issues. When the hotspot is clicked, looktohotspot does not happen, the image just opens. And when the image is clicked to close it, the tour freezes.
These are the tours:
http://www.artevistas.com/virtualtour/02122011
http://www.360examples.net/casa_bacardi/draft_32/tour.html
The code I have used to open the image is:
(On line 350 of the xml http://www.360examples.net/casa_bacardi/draft_32/bacardi.xml)
onclick="looktohotspot(ispot1,auto,smooth(150,25,100)); panel1();"/>
(on line 73)
<action name="panel1">
set(plugin[panel1].visible,true);
set(plugin[vid1_play].visible,true);
tween(plugin[panel1].alpha,1,2);
</action>
And to close the image:
(on line 79)
<action name="panel1Off">
tween(plugin[panel1].alpha,0,,,
set(plugin[panel1].visible,false);
tween(view.fov,90,1);
));
</action>
What is baffling me is this tour: http://www.360examples.net/demos/idevices/berzosa/tour.html uses the same lines of code and it works fine.
The only difference is that this tour is an older krpano version.
xml is here: http://www.360examples.net/demos/idevices/berzosa/tour.xml
Any ideas?