When I change from one panorama to another appears 1 second of audio, how can I fix this?
You can see the problem here:
http://studio360.com.ar/ultrapetrolvirtual/ultrapetrol.html
Here´s the code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- for xml compliance -->
<krpano version="1.0.8.14">
<!-- acciones a realizar al cargar -->
<events onxmlcomplete="onxmlcompleteaction();"/>
<action name="onxmlcompleteaction">
panotourmapsunactivespots();
plugin[combobox].selectitem('Rampa Varadero Final');
panotourmapsactivespot(panotourmapsspot7);
</action>
<action name="playpanosounds">
playbackgroundsound(none);
</action>
<action name="stoppanosounds">
stopbackgroundsound();
</action>
<action name="closepanoobjects"></action>
<!--************** Panorama *******************************************************************-->
<!-- @File="ultrapetrol11.xml" @PanoName="Rampa Varadero Final" @FilePath="/Users/hernanespana/Desktop/ultrapetrol/C[Group 6]-HER_7951_HER_7957-7 images.jpg" -->
<panoview h="-13.29" v="3.21" fov="41.82"/>
<!-- parámetros de visualización -->
<view fisheye="0" limitview="range" hlookatmin="-170" hlookatmax="40" vlookatmin="-90.005" vlookatmax="73.8824" maxpixelzoom="1.0" fovmax="90" fov="41.82" hlookat="-13.29" vlookat="3.21"/>
<progress showwait="none"/>
<autorotate horizon="3.21" tofov="41.82" waittime="1" speed="5"/>
<!-- vista previa -->
<preview url="ultrapetroldata/ultrapetrol11/preview.jpg"/>
<!-- el panorama mismo -->
<image type="SPHERE" hfov="360" vfov="175.19" voffset="-2.41" multires="true" tilesize="609" baseindex="0">
<level tiledimagewidth="5000" tiledimageheight="2433">
<sphere url="ultrapetroldata/ultrapetrol11/2/%v_%u.jpg"/>
</level>
<level tiledimagewidth="2500" tiledimageheight="1216">
<sphere url="ultrapetroldata/ultrapetrol11/1/%v_%u.jpg"/>
</level>
<level tiledimagewidth="1250" tiledimageheight="608">
<sphere url="ultrapetroldata/ultrapetrol11/0/%v_%u.jpg"/>
</level>
</image>
<!--************** Puntos clave y reflexiones *************************************************-->
<hotspot name="spot19" hview="-54" vview="0" fovview="90" hcenter="18.0286" vcenter="-0.119935" onclick="mainloadpano(ultrapetrol7.xml);lookat(get(hview),get(vview),get(fovview));" url="ultrapetroldata/graphics/spots/spot1.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot19,0.1);" onhover="showtext('Entrada Planta de Chapas');" ath="378.029" atv="-0.119935"/>
<hotspot name="spot20" onclick="closeglobalobjects();closeallobjects();set(plugin[spot20object].visible,true);tween(plugin[spot20object].alpha, 1);plugin[spot20object].play()" url="ultrapetroldata/graphics/spots/spot2.png" crop="0|0|65|65" frame="0" lastframe="9" frameheight="65" framewidth="65" onloaded="set(stopSequence,false);animate(spot20,0.1);" ath="333.386" atv="11.3304"/>
<plugin name="spot20object" visible="false" url="ultrapetroldata/graphics/videoplayer.swf" videourl="ultrapetroldata/graphics/spots/object9.flv" pausedonstart="true" align="center" alpha="0" onclick="closeglobalobjects();tween(alpha, 0);delayedcall(0.5,set(visible,false));stop();" width="700" height="500"/>
<action name="hidepanospotsaction">
set(hotspot[spot19].visible, false);
set(hotspot[spot20].visible, false);</action>
<action name="showpanospotsaction">
set(hotspot[spot19].visible, true);
set(hotspot[spot20].visible, true);</action>
<!-- cerrar todos los puntos clave -->
<action name="closeallobjects">set(plugin[spot20object].alpha, 0);set(plugin[spot20object].visible,false);plugin[spot20object].stop()</action>
</krpano>
Thanks to all!
Best Regards
H.