﻿<krpano debugmode="true">
 
<contextmenu fullscreen="false"   versioninfo="false"  touch="false" customstyle="Montserrat|12|default|0x22ffffff|0x000000|0xcccccc|0|0|5|2|2|8|0x66000000|0|0|1|4|5|0xEEEEEE|none|1|0|0|0|3|0xEEEEEE|0|0|12|8" >
	 <item caption="Powered by PanoramicWEB™"  /> 
	</contextmenu>
 <!---->	
<include url="plugins/iphone_fullscreen_swipe.xml" devices="iphone" />
	
	
	<include url="plugins/showtext.xml"/>
	<!-- grid preview pano -->
	<!-- grid preview pano -->
	
	
	
	<!--
<preview url="multires_panoramic/8KclenadedCSO_monoimage.tiles/preview.jpg" />

	<image>
		<cube url="multires_panoramic/8KclenadedCSO_monoimage.tiles/%s/l%l/%v/l%l_%s_%v_%h.jpg" multires="512,640,1280,2560" />
	</image>
-->

<image stereo="true" stereoformat="TB"  autohotspot="false"> 
			<sphere url="plugin:panoravideoplayer" />  
		
	</image>
	<include url="skin/videointerface.xml" /> 
	
<include url="plugins/webvr.xml" />

<plugin name="panoravideoplayer"    keep="false" url="panoramicweb_video/panoramicweb_360videoplayer_plugin.js"   videourl="https://player.vimeo.com/external/753890046.m3u8?s=e9c8e688416c79c945957fcf09eda745dc17aa80"
 currentqualitylevel="auto"  onpluginloaded=" handle_onloaded() "   ontimeupdated="handle_timeupdatepanoramaset()"
 onactivecuechanged=" handle_text_track_changedpanorama()"   onaudiotrackchanged="send_command_to_remote_in_vdcpanorama()"   ontexttrackchanged="send_command_to_remote_in_vdcpanorama()" 
 onplayed="send_vdc_playpanorama()" onpaused="send_vdc_pausepanorama()"   
 onqualityleveladded="videoquality()" texttrackurl="" minautolevel="4"  maxautolevel.ios="6"   onenterpictureinpicture="send_command_to_remote_in_vdcpanorama()"    onfullscreenchanged="" 
 width="100%"  height="100%"   volume="0.0" volume.ios="0" muted.ios="on" autoplay="off" autoplay.ios="off" showloadingspinner="off" onetimecall=" set(plugin[panoravideoplayer].volume, 1); removelayer(menucontainer); set(plugin[panoravideoplayer].onetimecall, ); skin_video_updatestate();skin_volumectrl_update();"
 />
 
<action name="handle_onloaded">


  videointerface_addsource('auto');plugin[panoravideoplayer].pause();  delayedcall(1, skin_video_updatestate();skin_volumectrl_update();  videointerface_play('auto'); );

</action>
 	
 	
 <action name="videoquality"> 
 videointerface_addsource(calc( %2 *2 )); 
	<!--	call(plugin[rtc_plugin].send_event_to_remote, get(plugin[videoplayer_plugin].event_name), get(plugin[videoplayer_plugin].event_args) );	 -->
  </action>


	<!-- view/fov settings -->
	<view hlookat="184" vlookat="0" fovtype="VFOV" fov="90" fovmin="30" fovmax="150" />
	
	
	<plugin name="soundinterface" keep="true"
        url.html5="plugins/soundinterface.js"   
		preload="true"
        rootpath=""
        volume="1.0"
        mute="false"
        panningmodel="simple"
        worldscale="1.0"
        autopause="false"
        autounlock="true" />
	
	
	  <events  onpreviewcomplete="js(closeGif());soundpreload();" 
	/>
	
	
	<data name="htmltext">
	<![CDATA[
		<p style="text-align: center;font-family:Montserrat;">Konser Demosu </p>
	<p style="text-align: center;font-family:Montserrat;">Ekrana Dokunduğunuzda Yüklemeye Başlar</p>
	
	
	]]>
	</data>
	
		<data name="htmltext2">
	<![CDATA[
		<p style="text-align: center;font-family:Montserrat;">Konser Yükleniyor....</p>
	
	
	
	]]>
	</data>
	
		<data name="htmltext3">
	<![CDATA[
		<p style="text-align: center;font-family:Montserrat;">Konser Demosu </p>
	<p style="text-align: center;font-family:Montserrat;">Ekrana Dokunduğunuzda Yüklemeye Başlar</p>	
	]]>
	</data> 
	
	
	
	<events name="loadinganimation" keep="true"
	        onxmlcomplete="loadinganimation_startloading();"     
	        />
	
	<hotspot name="loadinganimation"
	         keep="true"
			 width="32" height="32"
	         visible="false"
	         flying="1.0"
	         url="loadinganimation.png"
	         crop="0|0|64|64"
	         frame="0" frames="8"
			 oy="100"
	         />

	<!-- loading percent actions -->
	<action name="loadinganimation_startloading">
		set(loadinganimation_isloading, true);
		set(hotspot[loadinganimation].visible, true);
		loadinganimation_animate();
	</action>

	<action name="loadinganimation_stoploading">
		set(loadinganimation_isloading, false);
		set(hotspot[loadinganimation].visible, false);
		
		delayedcall(0.25,  set(plugin[play].onclick , call(plugin[play].onclickA) ););
		
		removehotspot(loadinganimation);
		
		
	</action>

	<action name="loadinganimation_animate">
		mul(xcrop, hotspot[loadinganimation].frame, 64);
		txtadd(hotspot[loadinganimation].crop, get(xcrop), '|0|64|64');

		if(loadinganimation_isloading,
			inc(hotspot[loadinganimation].frame);
			if(hotspot[loadinganimation].frame GE hotspot[loadinganimation].frames, set(hotspot[loadinganimation].frame,0));
			delayedcall(0.05, loadinganimation_animate() );
		  );
	</action>
	
	
	
	
	
	
	
	
	<!--
	<plugin name="play4" url="butonlar/playvideo2.svg" onhover="showtext(Tüm Sesleri Aç/Kapat)" enabled="true" align="righttop" width="48" height="48" x="100" y="10" sound="true" onclick="firstpart()"  />
	
	
	<plugin name="play5" url="butonlar/playvideo2.svg" onhover="showtext(Tüm Sesleri Aç/Kapat)" enabled="true" align="righttop" width="48" height="48" x="100" y="60" sound="true" onclick="secondpart()"  />
	-->
	
	<action name="send_vdc_playpanorama" >
	
	 set(videopauseplay , true );
	 
	 plugin[sn01].play(); plugin[sn02].play();
	
	</action>
	
	<action name="send_vdc_pausepanorama" >
	
	 set(videopauseplay ,  false );
	 
	 plugin[sn01].pause(); plugin[sn02].pause();
	</action>
	
	
	
	<action name="handle_timeupdatepanoramaset" type="Javascript">
<![CDATA[

var q = args[2];
var sound1 = krpano.get("plugin[sn01].currenttime");
var sound2 = krpano.get("plugin[sn02].currenttime");



var videostatus = krpano.get("plugin[panoravideoplayer].status");
var sound1status = krpano.get("plugin[sn01].status");
var sound2status = krpano.get("plugin[sn02].status");

var timedelta1 = q - sound1;
var timedelta2 = q - sound2;





if( Math.abs(timedelta1) > 0.1  )
{
krpano.call(" set(plugin[sn01].currenttime ,"+q +"  ); ");
}
if( Math.abs(timedelta2) > 0.1  )
{
krpano.call(" set(plugin[sn02].currenttime ,"+q +"  ); ");
}



if(sound1status == "paused" && videostatus == "played" )
{

	
 krpano.call(" plugin[sn01].play();");
}

if(sound2status == "paused" && videostatus == "played" )
{

 krpano.call(" plugin[sn02].play();");
}

]]>
</action>
	
	<action name="handle_timeupdatesound1set" type="Javascript">
<![CDATA[


]]>
</action>
	
	<action name="handle_timeupdatesound2set" type="Javascript">
<![CDATA[


]]>
</action>
	
	
	
	
	
	<events keep="false" onviewchange="on_view_changed()"     />
	
	<action name="on_view_changed" >
	<!-- plugin[audio_01].audiopannerposition(get(view.vlookat), get(view.hlookat),  get(hotspot[soundhotspot01].atv), get(hotspot[soundhotspot01].ath));
	plugin[audio_02].audiopannerposition(get(view.vlookat), get(view.hlookat),  10, 100); -->
	<!--
	plugin[sn01].playaudioathotspot("sound01");	
	plugin[sn02].playaudioathotspot("sound02");	
	plugin[sn03].playaudioathotspot("sound03");	
	plugin[sn04].playaudioathotspot("sound04");	
	plugin[sn05].playaudioathotspot("sound05");	
	plugin[sn06].playaudioathotspot("sound06");	
	plugin[sn07].playaudioathotspot("sound07");	
	plugin[sn08].playaudioathotspot("sound08");	
	plugin[sn09].playaudioathotspot("sound09");	
	plugin[sn10].playaudioathotspot("sound10");	
	plugin[sn11].playaudioathotspot("sound11");	
	-->
	plugin[sn01].play6channelaudioathotspot("sound10play", "sound11play", "sound07play", "sound09play", "sound09play", "sound04play");
    plugin[sn02].play6channelaudioathotspot("sound03play", "sound02play", "sound08play", "sound08play", "sound06play", "sound05play");

	
</action>


<plugin name="sn01" height="50" width="50" soundmode="3dsound"  url.html5="panoramicweb_audio/panoramicweb_6channel_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/audiomulti12345.aac"  innerangle="35" listenerdistance="1" outerangle="180" outergain="0.1"  align="left" x="-150" y="-10" language="tr"   loop="off" muted="off" keep="false" volume="1" autoplay="off" 
 ontimeupdated="handle_timeupdatesound1set()" onplayed="playpausesoudnplay()" onpaused="playpausesoudnpause()" volumevalue="1" />
 
<plugin name="sn02" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_6channel_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/audiomulti67890.aac"  innerangle="35" listenerdistance="1" outerangle="180" outergain="0.1"  align="left" x="-150" y="-60" language="tr" loop="off" muted="off" keep="false" volume="1" autoplay="off" 
 ontimeupdated="handle_timeupdatesound2set()" volumevalue="1" />



	<layer name="allhotspotshowhide" keep="true" vr="false"
	       style="webvr_button_style"
	       html="Hide"   html1="Show"   html2="Hide" 
	       align="lefttop" y="24" x="50"
	       autoalpha="true" alpha="1.0" showhide="true"
	       onclick="hotspotShowHide();"
	       />


<!-- 
<plugin name="sn01" height="50" width="50" soundmode="3dsound" devices="normal" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_a-b/stream-0-128000/index.m3u8"  innerangle="240" listenerdistance="2" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" 
 onplayed="playpausesoudnplay()" onpaused="playpausesoudnpause()" volumevalue="1" />
 
 <plugin name="sn05" height="50" width="50" soundmode="3dsound" devices="normal" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_full_st/stream-0-128000/index.m3u8" innerangle="210" listenerdistance="2" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />
 
<plugin name="sn02" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_clr-fgt/stream-0-128000/index.m3u8"  innerangle="150" listenerdistance="2" outerangle="360" outergain="0.01"  align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn03" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_fl-oboe/stream-0-128000/index.m3u8"  innerangle="150" listenerdistance="2" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn04" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_cb/stream-0-128000/index.m3u8"  innerangle="90" listenerdistance="3" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn06" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_frhorn/stream-0-128000/index.m3u8" innerangle="360" listenerdistance="2" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn07" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_va/stream-0-128000/index.m3u8" innerangle="150" listenerdistance="2" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn08" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_trp-trb/stream-0-128000/index.m3u8"  innerangle="90" listenerdistance="3" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />
	
<plugin name="sn09" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_vc/stream-0-128000/index.m3u8"  innerangle="90" listenerdistance="3" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn10" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_vl_1/stream-0-128000/index.m3u8"  innerangle="90" listenerdistance="3" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />

<plugin name="sn11" height="50" width="50" soundmode="3dsound" url.html5="panoramicweb_audio/panoramicweb_360audioplayer_plugin.js" showcontrols="false" 
 mediaurl="sound/2_blm_vl_2/stream-0-128000/index.m3u8" innerangle="90" listenerdistance="3" outerangle="360" outergain="0.01" align="left" x="-150" y="-10" language="tr"   keep="true" volume="1" autoplay="off" />
-->
	
	
	<plugin name="play"  vr="false" zorder="52" url="play.png"  align="center" usewebvr="false"  vcenter="true" enabled="true" handcursor="true" width="200" height="200"  visible="true" alpha="0" 
	onclickA="allsoundcreate(); skin_video_updatestate();skin_volumectrl_update();"  onloaded="if(webvr.isenabled , set(layer[play].visible, false);  set(layer[play2].visible, false); set(layer[allhotspotshowhide].visible, false);  );"  />
	
	
	<plugin name="play2"  vr="false" zorder="51" align="center" visible="true" usewebvr="false" alpha="0" type="text" bg="true" vcenter="true"  enabled="true" foreground="0xffffff" css="p{leading:2;color:white;font-family:Montserrat;text-align: center;font-size:20px;}"
	handcursor="false" capture="true"  html=""   bgcapture="true" bgalpha="0.30" bgcolor="0x000000" width="100%" height="100%" onclick=""  />
	
	<!--
	<plugin name="play3" url="butonlar/playvideo2.svg" onhover="showtext(Tüm Sesleri Aç/Kapat)" enabled="true" align="righttop" width="48" height="48" x="10" y="10" soundd="true"

	onclick="allsoundswitch()"  />
	-->
	<!--
	<plugin name="play4" url="butonlar/playvideo2.svg" onhover="showtext(durdur)" enabled="true" align="righttop" width="48" height="48" x="10" y="70" soundd="true" onclick="alltoglepause();"  />
	-->
		
	
	<!--
	<hotspot name="sound01" url="butonlar/playvideo2.svg" alpha="0.75" soundname="sn01" soundint="1" width="48" height="48" atv="-50.55" ath="4.53" zoom="true" soundhs="true" solo="true" 
	onclick="switchsoundvolume(sn01);" onhover="showtext(MainPair);" visible="true" devices="normal" />-->
	
	<style name="hssoundpanel" type="text" bg="true" bgalpha="0.25" bgcolor="0x010101"  bgborder="1 0x777777" bgroundedge="5" alpha="0.75" autowidth="true"  ox="0" oy="-8" height="40" edge="center" 
	css="color:#ffffff;text-align: center;font-family:Montserrat;font-weight:bold; font-size:12px;" 
	distorted="true" visible="true" enabled="false"  />
	
	<style name="hsstylesoundmute" type="text" bg="true" bgalpha="0.05" bgalpha1="0.05" bgalpha2="0.75" bgcolor="0x000000" bgcolor2="0x11ff56" bgcolor1="0x000000"  bgborder="1 0x777777" bgroundedge="5" alpha="1" width="20"  autoheight="true" edge="center" distorted="true" visible="true"
		text="M"  ox="-12"	vcenter="true"	css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;margin:0 0 0 0; " 
css1="color:#11ff56;text-align: center; font-family:Montserrat;font-weight:bold; font-size:10px;margin:0 0 0 0;"
css2="color:#ff1156;text-align: center; font-family:Montserrat;font-weight:bold; font-size:10px;margin:0 0 0 0; "			/>
	
	
	<style name="hsstylesoundsolo" type="text" bg="true" bgalpha="0.05" bgalpha1="0.75" bgalpha2="0.05" bgcolor="0x000000"  bgcolor2="0x000000" bgcolor1="0xddff16" bgborder="1 0x777777" bgroundedge="5" alpha="1" width="20" autoheight="true" edge="center" distorted="true" visible="true"
	text="S"	ox="12" vcenter="true"	css="color:#ffffff;text-align:center; font-family:Montserrat;font-weight:bold; font-size:10px;margin:0 0 0 0 ; " 
css1="color:#adff16;text-align: center; font-family:Montserrat;font-weight:bold; font-size:10px;margin:0 0 0 0; "
css2="color:#ff1156;text-align: center; font-family:Montserrat;font-weight:bold; font-size:10px;margin:0 0 0 0;"			/>
	
	
	 
	<hotspot name="sound02play" text="data:dataOutrigger" style="hssoundpanel" soundname="sn02" soundint="1"  atv="-0.83" ath="177"  typehs="panel"
	 />	
	<hotspot name="sound03play" text="data:dataFl-Oboe" style="hssoundpanel" soundname="sn02" soundint="0"  atv="5.45" ath="176" typehs="panel"
	 />
	<hotspot name="sound04play" text="data:dataBass" style="hssoundpanel"  soundname="sn01" soundint="5" atv="3.59" ath="-125.68"  typehs="panel"
	 />
	<hotspot name="sound05play" text="data:dataHall" style="hssoundpanel"  soundname="sn02" soundint="5"   atv="-13.1" ath="-178"  typehs="panel"
	 />
	<hotspot name="sound06play" text="data:dataFrench" style="hssoundpanel"  soundname="sn02" soundint="4" atv="2.48" ath="141.5"  typehs="panel"
	 />
	<hotspot name="sound07play" text="data:dataViola" style="hssoundpanel"  soundname="sn01" soundint="2"  atv="22.86" ath="-63.7" typehs="panel"
	  />
	<hotspot name="sound08play" text="data:dataTrumpet" style="hssoundpanel"  soundname="sn02" soundint="2"  atv="-2.2" ath="-152.5"  typehs="panel"
	 />
	<hotspot name="sound09play" text="data:dataCello" style="hssoundpanel"  soundname="sn01" soundint="4"  atv="27.28" ath="-126.29"  typehs="panel"
	 />
	<hotspot name="sound10play" text="data:dataViolin1" style="hssoundpanel"  soundname="sn01"  soundint="0"  atv="18" ath="65.4"  typehs="panel"
	 />	
	<hotspot name="sound11play" text="data:dataViolin2" style="hssoundpanel"  soundname="sn01" soundint="1"   atv="26" ath="141.4"   typehs="panel"
	 />
	
	
	
	<data name="dataOutrigger"> <![CDATA[&nbsp;&nbsp;Outrigger&nbsp;&nbsp;]]> </data>
	<data name="dataFl-Oboe"> <![CDATA[&nbsp;&nbsp;Fl-Oboe&nbsp;&nbsp;]]> </data>	
	<data name="dataBass"> <![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;Bass&nbsp;&nbsp;&nbsp;&nbsp;]]> </data>	
	<data name="dataHall"> <![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;Hall&nbsp;&nbsp;&nbsp;&nbsp;]]> </data>
	<data name="dataFrench"> <![CDATA[&nbsp;&nbsp;French Horn&nbsp;&nbsp;]]> </data>	
	<data name="dataViola"> <![CDATA[&nbsp;&nbsp;&nbsp;Viola&nbsp;&nbsp;&nbsp;]]> </data>	
	<data name="dataTrumpet"> <![CDATA[&nbsp;&nbsp;Trumpet&nbsp;&nbsp;]]> </data>	
	<data name="dataCello"> <![CDATA[&nbsp;&nbsp;&nbsp;Cello&nbsp;&nbsp;&nbsp;]]> </data>
	<data name="dataViolin1"> <![CDATA[&nbsp;&nbsp;Violin 1&nbsp;&nbsp;]]> </data>
	<data name="dataViolin2"> <![CDATA[&nbsp;&nbsp;Violin 2&nbsp;&nbsp;]]> </data>
	
	
	<hotspot name="sound02"  alpha="1" edge="center" soundname="sn02" soundint="1" autoheight="true" atv="-0.83" ath="177" distorted="true" soundhs="true" mute="false"   solo="false" typehs="mute"
	onclick="switchsoundvolume(sn02);"   style="hsstylesoundmute"   css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;"  />	
	<hotspot name="sound03"  alpha="1" edge="center" soundname="sn02" soundint="0"  autoheight="true" atv="5.45" ath="176" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn02);"    style="hsstylesoundmute"  css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;"  />
	<hotspot name="sound04"  alpha="1" edge="center" soundname="sn01" soundint="5" autoheight="true" atv="3.59" ath="-125.68" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn01);"   style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;"  />
	<hotspot name="sound05"  alpha="1" edge="center" soundname="sn02" soundint="5"   autoheight="true" atv="-13.1" ath="-178" distorted="true" soundhs="true" mute="false" solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn02);"   style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound06"  alpha="1" edge="center" soundname="sn02" soundint="4"  autoheight="true" atv="2.48" ath="141.5" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn02);"    style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound07"  alpha="1" edge="center" soundname="sn01" soundint="2"  autoheight="true" atv="22.86" ath="-63.7" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn01);"   style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound08"  alpha="1" edge="center" soundname="sn02" soundint="2" autoheight="true" atv="-2.2" ath="-152.5" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn02);"   style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound09"  alpha="1" edge="center" soundname="sn01" soundint="4"  autoheight="true" atv="27.28" ath="-126.29" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn01);"    style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound10"  alpha="1" edge="center" soundname="sn01"  soundint="0"  autoheight="true" atv="18" ath="65.4" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn01);"    style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />	
	<hotspot name="sound11" alpha="1" edge="center" soundname="sn01" soundint="1" autoheight="true" atv="26" ath="141.4" distorted="true" soundhs="true" mute="false"  solo="false"  typehs="mute"
	onclick="switchsoundvolume(sn01);"   style="hsstylesoundmute" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	
	
	<hotspot name="sound02solo"  alpha="1" edge="center" soundname="sn02" soundint="1"  autoheight="true" atv="-0.83" ath="177" distorted="true"  solo="false"  typehs="solo"
	onclick="switchonlysoundvolume(sound02);"   style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />	
	<hotspot name="sound03solo"  alpha="1" edge="center" soundname="sn02" soundint="0"  autoheight="true" atv="5.45" ath="176" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound03);"   style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />	
	<hotspot name="sound04solo"  alpha="1" edge="center" soundname="sn01" soundint="5"  autoheight="true" atv="3.59" ath="-125.68" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound04);"    style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound05solo"  alpha="1" edge="center" soundname="sn02" soundint="5"   autoheight="true" atv="-13.1" ath="-178" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound05);"  style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound06solo"  alpha="1" edge="center" soundname="sn02" soundint="4"  autoheight="true" atv="2.48" ath="141.5" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound06);"   style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" /> 
	<hotspot name="sound07solo"  alpha="1" edge="center" soundname="sn01" soundint="2"  autoheight="true" atv="22.86" ath="-63.7" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound07);"   style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound08solo"  alpha="1" edge="center" soundname="sn02" soundint="2"  autoheight="true" atv="-2.2" ath="-152.5" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound08);"   style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound09solo"  alpha="1" edge="center" soundname="sn01" soundint="4" autoheight="true" atv="27.28" ath="-126.29" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound09);"    style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	<hotspot name="sound10solo"  alpha="1" edge="center" soundname="sn01"  soundint="0"  autoheight="true" atv="18" ath="65.4" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound10);"    style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />	
	<hotspot name="sound11solo" alpha="1" edge="center" soundname="sn01" soundint="1"  autoheight="true" atv="26" ath="141.4" distorted="true"  solo="false" typehs="solo"
	onclick="switchonlysoundvolume(sound11);"    style="hsstylesoundsolo" css="color:#ffffff; text-align: center;font-family:Montserrat;font-weight:bold; font-size:10px;leading:2; margin:1;" />
	
	
	
	
	
	
	
	
	
	
	
	
	
	<action name="switchsoundvolume" >
	

	
		switch(hotspot[get(name)].mute);
		set(temphs2,get(hotspot[get(name)].soundint) );
		set(temphs,get(hotspot[get(name)].soundname) );
		
		if(hotspot[get(name)].mute ,  plugin[get(temphs)].changechannelvolume(get(temphs2), 0);  set(hotspot[get(name)].bgcolor,get(hotspot[get(name)].bgcolor2));  set(hotspot[get(name)].bgalpha, get(hotspot[get(name)].bgalpha2));  ,   plugin[get(temphs)].changechannelvolume(get(temphs2), get(plugin[get(temphs)].volumevalue)); set(hotspot[get(name)].bgalpha, get(hotspot[get(name)].bgalpha1));  set(hotspot[get(name)].bgcolor, get(hotspot[get(name)].bgcolor1));    );
		
		set(tempsolo, 0);	
		set(tempsolocount, 0);
		for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].typehs == 'solo' , 
					if(hotspot[get(i)].solo , add(tempsolocount, 1); ,     );				
				);
			);
		
		
			
		if(tempsolocount GT 0 ,       
		
			for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].typehs == 'mute' , set(temphs2,get(hotspot[get(i)].soundint) ); set(temphs,get(hotspot[get(i)].soundname) );
					if(hotspot[get(i)].solo , if(hotspot[get(i)].mute, plugin[get(temphs)].changechannelvolume(get(temphs2), 0);  , plugin[get(temphs)].changechannelvolume(get(temphs2), get(plugin[get(temphs)].volumevalue)); ); , plugin[get(temphs)].changechannelvolume(get(temphs2), 0);    );				
				);
			);		
		); 
		
	</action>
	
	
	<action name="switchonlysoundvolumechange" >
	
		switch(hotspot[%1].solo);
		switch(hotspot[get(name)].solo);
		if(hotspot[%1].solo ,  set(hotspot[get(name)].bgcolor, get(hotspot[get(name)].bgcolor1));  set(hotspot[get(name)].bgalpha, get(hotspot[get(name)].bgalpha1));  ,  set(hotspot[get(name)].bgcolor,get(hotspot[get(name)].bgcolor2) ); set(hotspot[get(name)].bgalpha,get(hotspot[get(name)].bgalpha2) );    );
			set(tempsolo, 0);	

		set(tempsolocount, 0);
		for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].typehs == 'solo' , 
					if(hotspot[get(i)].solo , add(tempsolocount, 1); ,     );				
				);
			);

	if(tempsolocount GT 0 ,       
		
			for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].typehs == 'mute' , set(temphs2,get(hotspot[get(i)].soundint) ); set(temphs,get(hotspot[get(i)].soundname) );
					if(hotspot[get(i)].solo , if(hotspot[get(i)].mute, plugin[get(temphs)].changechannelvolume(get(temphs2), 0);  , plugin[get(temphs)].changechannelvolume(get(temphs2), get(plugin[get(temphs)].volumevalue)); ); , plugin[get(temphs)].changechannelvolume(get(temphs2), 0);    );				
				);
			);	
			,
			for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].typehs == 'mute' , set(temphs2,get(hotspot[get(i)].soundint) ); set(temphs,get(hotspot[get(i)].soundname) );
					 if(hotspot[get(i)].mute, plugin[get(temphs)].changechannelvolume(get(temphs2), 0);  , plugin[get(temphs)].changechannelvolume(get(temphs2), get(plugin[get(temphs)].volumevalue)); ); 			
				);
			);	
			
		); 

			<!--
			for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].soundhs ,
					if(hotspot[get(i)].solo , set(temphs,get(hotspot[get(i)].soundname) ); set(temphs2,get(hotspot[get(i)].soundint) );    set(hotspot[get(i)].css,get(hotspot[get(i)].css1));plugin[get(temphs)].changechannelvolume(get(temphs2), 1);  
					,  add(tempsolo,1); set(temphs,get(hotspot[get(i)].soundname) ); set(temphs2,get(hotspot[get(i)].soundint) );  set(hotspot[get(i)].css,get(hotspot[get(i)].css2));  plugin[get(temphs)].changechannelvolume(get(temphs2), 0);    );
				
				);
			);
			-->
		
			
	</action>
	
	
	
	<action name="hotspotShowHide">
	
		switch(layer[get(name)].showhide);
		for(copy(i, hotspot.count), i GE 0, dec(i),  set(hotspot[get(i)].visible ,get(layer[get(name)].showhide)   ); 
				 if(layer[get(name)].showhide  ,  set(layer[get(name)].html ,Hide);        ,  set(layer[get(name)].html ,Show);   );
			);	
	
	</action>
		
	
	
	
	<action name="playpausesoudnplay" >
	set(playallsound,true);
	</action>
	
	<action name="playpausesoudnpause" >
set(playallsound,false);
	</action>
	
	<action name="intervardebugaction" >


<!--	debug(get(plugin[sn01].currenttime));
	debug(get(plugin[sn02].currenttime));
	debug(get(plugin[sn03].currenttime));
	debug(get(plugin[sn04].currenttime));
	debug(get(plugin[sn05].currenttime));
	debug(get(plugin[sn06].currenttime));
	debug(get(plugin[sn07].currenttime));
	debug(get(plugin[sn08].currenttime));
	debug(get(plugin[sn09].currenttime));
	debug(get(plugin[sn10].currenttime));
	debug(get(plugin[sn11].currenttime));
	-->
	
	set(timesync ,get(plugin[panoravideoplayer].currenttime) );
	
	mul(timesync , 1000);
	Math.round(timesync); 
	div(timesync , 1000);
	<!--
	Math.abs(timedistance1, calc(timesync - plugin[sn01].currenttime  ) );
	Math.abs(timedistance2, calc(timesync - plugin[sn02].currenttime  ) );
	Math.abs(timedistance3, calc(timesync - plugin[sn04].currenttime  ) );
	Math.abs(timedistance4, calc(timesync - plugin[sn03].currenttime  ) );
	Math.abs(timedistance5, calc(timesync - plugin[sn05].currenttime  ) ); 
	Math.abs(timedistance6, calc(timesync - plugin[sn06].currenttime  ) );
	Math.abs(timedistance7, calc(timesync - plugin[sn07].currenttime  ) );
	Math.abs(timedistance8, calc(timesync - plugin[sn08].currenttime  ) );
	Math.abs(timedistance9, calc(timesync - plugin[sn09].currenttime  ) );
	Math.abs(timedistance10, calc(timesync - plugin[sn10].currenttime  ) );
	Math.abs(timedistance11, calc(timesync - plugin[sn11].currenttime  ) );-->
	<!--
	debug(get(timedistance1));
	debug(get(timedistance2));
	debug(get(timedistance3));
	debug(get(timedistance4));
	debug(get(timedistance5));
	debug(get(timedistance6));
	debug(get(timedistance7));
	debug(get(timedistance8));
	debug(get(timedistance9));
	debug(get(timedistance10));
	debug(get(timedistance11));
	debug(get(timesync));	
	
	
	
if(timedistance1 GT 0.056,	 plugin[sn01].pause();  set(plugin[sn01].currenttime ,get(timesync) );  plugin[sn01].play();   );
if(timedistance2 GT 0.056, 	  plugin[sn02].pause(); set(plugin[sn02].currenttime ,get(timesync) );  plugin[sn02].play();  );    

-->


if(timedistance1 GT 0.056,	    );
if(timedistance2 GT 0.056, 	    );    

<!--
if(timedistance3 GT 0.056,	  plugin[sn03].pause(); set(plugin[sn03].currenttime ,get(timesync) );  plugin[sn03].play();    );    
if(timedistance4 GT 0.056,	 plugin[sn04].pause(); set(plugin[sn04].currenttime ,get(timesync) );   plugin[sn04].play();  );  
if(timedistance5 GT 0.056,	 plugin[sn05].pause(); set(plugin[sn05].currenttime ,get(timesync) );   plugin[sn05].play();  );    
if(timedistance6 GT 0.056,	 plugin[sn06].pause(); set(plugin[sn06].currenttime ,get(timesync) );   plugin[sn06].play();   );  
if(timedistance7 GT 0.056,	plugin[sn07].pause(); set(plugin[sn07].currenttime ,get(timesync) );  plugin[sn07].play();  );    
if(timedistance8 GT 0.056,  plugin[sn08].pause(); set(plugin[sn08].currenttime ,get(timesync) );  plugin[sn08].play();    );   
if(timedistance9 GT 0.056,  plugin[sn09].pause(); set(plugin[sn09].currenttime ,get(timesync) );  plugin[sn09].play();  );   
if(timedistance10 GT 0.056 ,  plugin[sn10].pause(); set(plugin[sn10].currenttime ,get(timesync) );  plugin[sn10].play();   );   
if(timedistance11 GT 0.056 ,  plugin[sn11].pause(); set(plugin[sn11].currenttime ,get(timesync) );  plugin[sn11].play();  );    
-->	
	
	if(videopauseplay , ,  allpartpausesend();    ); 
	
	</action>
	
	
	<action name="allpartvolumesend" >
		set(tempsolocount, 0);
		for(copy(i, hotspot.count), i GE 0, dec(i),
				if(hotspot[get(i)].typehs == 'solo' , 
					if(hotspot[get(i)].solo , add(tempsolocount, 1); ,     );				
				);
			);

	if(tempsolocount GT 0 , 
	
	if( hotspot[sound02].solo, if(hotspot[sound02].mute, , plugin[get(hotspot[sound02].soundname)].changechannelvolume(get(hotspot[sound02].soundint), %1); );	);
	if( hotspot[sound03].solo, if(hotspot[sound03].mute, ,plugin[get(hotspot[sound03].soundname)].changechannelvolume(get(hotspot[sound03].soundint), %1); );	);
	if( hotspot[sound04].solo,  if(hotspot[sound04].mute, ,plugin[get(hotspot[sound04].soundname)].changechannelvolume(get(hotspot[sound04].soundint), %1); );	);
	if( hotspot[sound05].solo, if(hotspot[sound05].mute, ,plugin[get(hotspot[sound05].soundname)].changechannelvolume(get(hotspot[sound05].soundint), %1); );	);
	if( hotspot[sound06].solo,if(hotspot[sound06].mute, ,plugin[get(hotspot[sound06].soundname)].changechannelvolume(get(hotspot[sound06].soundint), %1); );	);
	if( hotspot[sound07].solo, if(hotspot[sound07].mute, ,plugin[get(hotspot[sound07].soundname)].changechannelvolume(get(hotspot[sound07].soundint), %1); );	);
	if( hotspot[sound08].solo, if(hotspot[sound08].mute, ,plugin[get(hotspot[sound08].soundname)].changechannelvolume(get(hotspot[sound08].soundint), %1); );	);
	if( hotspot[sound09].solo, if(hotspot[sound09].mute, ,plugin[get(hotspot[sound09].soundname)].changechannelvolume(get(hotspot[sound09].soundint), %1); );	);
	if( hotspot[sound10].solo, if(hotspot[sound10].mute, ,plugin[get(hotspot[sound10].soundname)].changechannelvolume(get(hotspot[sound10].soundint), %1); );	);
	if( hotspot[sound11].solo, if(hotspot[sound11].mute, ,plugin[get(hotspot[sound11].soundname)].changechannelvolume(get(hotspot[sound11].soundint), %1); );	);
	
	,
	if( hotspot[sound02].solo, ,if(hotspot[sound02].mute, , plugin[get(hotspot[sound02].soundname)].changechannelvolume(get(hotspot[sound02].soundint), %1); );	);
	if( hotspot[sound03].solo, ,if(hotspot[sound03].mute, ,plugin[get(hotspot[sound03].soundname)].changechannelvolume(get(hotspot[sound03].soundint), %1); );	);
	if( hotspot[sound04].solo, , if(hotspot[sound04].mute, ,plugin[get(hotspot[sound04].soundname)].changechannelvolume(get(hotspot[sound04].soundint), %1); );	);
	if( hotspot[sound05].solo, ,if(hotspot[sound05].mute, ,plugin[get(hotspot[sound05].soundname)].changechannelvolume(get(hotspot[sound05].soundint), %1); );	);
	if( hotspot[sound06].solo, ,if(hotspot[sound06].mute, ,plugin[get(hotspot[sound06].soundname)].changechannelvolume(get(hotspot[sound06].soundint), %1); );	);
	if( hotspot[sound07].solo, ,if(hotspot[sound07].mute, ,plugin[get(hotspot[sound07].soundname)].changechannelvolume(get(hotspot[sound07].soundint), %1); );	);
	if( hotspot[sound08].solo, ,if(hotspot[sound08].mute, ,plugin[get(hotspot[sound08].soundname)].changechannelvolume(get(hotspot[sound08].soundint), %1); );	);
	if( hotspot[sound09].solo, ,if(hotspot[sound09].mute, ,plugin[get(hotspot[sound09].soundname)].changechannelvolume(get(hotspot[sound09].soundint), %1); );	);
	if( hotspot[sound10].solo, ,if(hotspot[sound10].mute, ,plugin[get(hotspot[sound10].soundname)].changechannelvolume(get(hotspot[sound10].soundint), %1); );	);
	if( hotspot[sound11].solo, ,if(hotspot[sound11].mute, ,plugin[get(hotspot[sound11].soundname)].changechannelvolume(get(hotspot[sound11].soundint), %1); );	);
	
	);
	
	
	</action>
	
	<action name="allparttogglepausesend" >
	plugin[sn01].togglepause();
	plugin[sn02].togglepause();
	<!--plugin[sn03].togglepause();
	plugin[sn04].togglepause();
	plugin[sn05].togglepause();
	plugin[sn06].togglepause();
	plugin[sn07].togglepause();
	plugin[sn08].togglepause();
	plugin[sn09].togglepause();
	plugin[sn10].togglepause();
	plugin[sn11].togglepause();
	-->
	</action>
	
		<action name="allpartpausesend" >
	plugin[sn01].pause();
	plugin[sn02].pause();
	<!--plugin[sn03].pause();
	plugin[sn04].pause();
	plugin[sn05].pause();
	plugin[sn06].pause();
	plugin[sn07].pause();
	plugin[sn08].pause();
	plugin[sn09].pause();
	plugin[sn10].pause();
	plugin[sn11].pause();
	-->
	</action>
	
	
	
		<action name="allpartplaysend" >
	plugin[sn01].play();
	plugin[sn02].play();
	
	switchsoundvolume();
	<!--plugin[sn03].play();
	plugin[sn04].play();
	plugin[sn05].play();
	plugin[sn06].play();
	plugin[sn07].play();
	plugin[sn08].play();
	plugin[sn09].play();
	plugin[sn10].play();
	plugin[sn11].play();
	-->
	</action>
	
	
	<action name="allsoundcurrenttime" >
	
		set(plugin[sn01].currenttime  , %1);
	set(plugin[sn02].currenttime  ,  %1);
<!--	set(plugin[sn03].currenttime  ,   %1);
	set(plugin[sn04].currenttime  ,   %1);
	set(plugin[sn05].currenttime  ,   %1);
	set(plugin[sn06].currenttime  ,   %1);
	set(plugin[sn07].currenttime  ,   %1);
	set(plugin[sn08].currenttime  ,   %1);
	set(plugin[sn09].currenttime  ,   %1);
	set(plugin[sn10].currenttime  ,   %1);
	set(plugin[sn11].currenttime  ,   %1);
	-->
	</action>
	
	
	<action name="alltoglepause" >
	
	
	<!--
		set(plugin[sn01].currenttime  , 100.5);
	set(plugin[sn02].currenttime  ,  100.5);
	set(plugin[sn03].currenttime  ,  100.5);
	set(plugin[sn04].currenttime  ,  100.5);
	set(plugin[sn05].currenttime  ,  100.5);
	set(plugin[sn06].currenttime  ,  100.5);
	set(plugin[sn07].currenttime  ,  100.5);
	set(plugin[sn08].currenttime  ,  100.5);
	set(plugin[sn09].currenttime  ,  100.5);
	set(plugin[sn10].currenttime  ,  100.5);
	set(plugin[sn11].currenttime  ,  100.5);
	
	plugin[sn01].pause();
	plugin[sn02].pause();
	plugin[sn03].pause();
	plugin[sn04].pause();
	plugin[sn05].pause();
	plugin[sn06].pause();
	plugin[sn07].pause();
	plugin[sn08].pause();
	plugin[sn09].pause();
	plugin[sn10].pause();
	plugin[sn11].pause();


	
	plugin[sn01].play();
	plugin[sn02].play();
	plugin[sn03].play();
	plugin[sn11].play();
	plugin[sn04].play();
	plugin[sn05].play();
	plugin[sn06].play();
	plugin[sn07].play();
	plugin[sn08].play();
	plugin[sn09].play();
	plugin[sn10].play();
	-->
	
	
	</action>
	
	
	
	
	
	
	<action name="allsoundswitch" >
	switch(plugin[play3].soundd);
	if(plugin[play3].soundd
	,
	set(hotspot[sound01].solo,true);
	set(hotspot[sound02].solo,true);
	set(hotspot[sound03].solo,true);
	set(hotspot[sound04].solo,true);
	set(hotspot[sound05].solo,true);
	set(hotspot[sound06].solo,true);
	set(hotspot[sound07].solo,true);
	set(hotspot[sound08].solo,true);
	set(hotspot[sound09].solo,true);
	set(hotspot[sound10].solo,true);
	set(hotspot[sound11].solo,true);
	<!-- -->
	 set(plugin[play3].url,butonlar/playvideo2.svg);
	,
	
	set(hotspot[sound01].solo,false);
	set(hotspot[sound02].solo,false);
	set(hotspot[sound03].solo,false);
	set(hotspot[sound04].solo,false);
	set(hotspot[sound05].solo,false);
	set(hotspot[sound06].solo,false);
	set(hotspot[sound07].solo,false);
	set(hotspot[sound08].solo,false);
	set(hotspot[sound09].solo,false);
	set(hotspot[sound10].solo,false);
	set(hotspot[sound11].solo,false);
	<!---->
	set(plugin[play3].url,butonlar/stopsound.svg); 
	);
	
	
	<!--switchsoundvolume();-->
	
	</action>
	
	
	
	<action name="switchonlysoundvolume">
	
	<!--set(hotspot[sound01].solo,false);
	set(hotspot[sound02].solo,false);
	set(hotspot[sound03].solo,false);
	set(hotspot[sound04].solo,false);
	set(hotspot[sound05].solo,false);
	set(hotspot[sound06].solo,false);
	set(hotspot[sound07].solo,false);
	set(hotspot[sound08].solo,false);
	set(hotspot[sound09].solo,false);
	set(hotspot[sound10].solo,false);
	set(hotspot[sound11].solo,false); -->
		
	
	
	
	switchonlysoundvolumechange(%1);
	</action>
	
	
	
	
	
	
	
	
	
	<action name="addnewsound3d">
		<!--
	NORMALY that sound must stop 	and remove memory 
	-->
<!--
	debug(%1 destroy);
	sound[%1].destroy();

	
	sound[%1].play();   
	
	
	debug(%3);debug(%4); 
	
	
	-->
	<!--  
	set(temptxt, %3); txtreplace(temptxt,*, %6); debug(get(temptxt));
	
checkfileExistFunction(%1,%2,%3,%4,%5,%6, get(temptxt) , false , 0  );  
  
	-->
	
	</action>
	
	
	
	
	<action name="soundpreload" >
	js(closeGif());
	
	set(ksayi, 3);
	<!--
	playsound_at_hotspot(sn01_1, sound/01_MainPair2/stream-0-128000/index.m3u8,sound01,false,0,270,    addnewsound3d(sn01_1,sn01_2,sound/01_MainPair*/stream-0-128000/index.m3u8,sound01,270,4);  sound[sn01_2].play(); sound[sn01_2].seek(0);  set(sound[sn01_2].volume,1);   );
	playsound_at_hotspot(sn02_1, sound/02_OutriggerPair2/stream-0-128000/index.m3u8, sound02 ,false,0,180,  addnewsound3d(sn02_1,sn02_2,sound/02_OutriggerPair*/stream-0-128000/index.m3u8,sound02,180,4);      set(sound[sn02_1].url,get(texttemp) ); sound[sn02_2].play(); sound[sn02_2].seek(0);  set(sound[sn02_2].volume,1); );
	playsound_at_hotspot(sn03_1, sound/03_HallPair2/stream-0-128000/index.m3u8,sound03 ,false,0,180,   addnewsound3d(sn03_1,sn03_2,sound/03_HallPair*/stream-0-128000/index.m3u8,sound03,180,4);    sound[sn03_2].play(); sound[sn03_2].seek(0);  set(sound[sn03_2].volume,1); );
	playsound_at_hotspot(sn04_1, sound/04_SpotPair_Piano2/stream-0-128000/index.m3u8, sound04 ,false,0,180,   addnewsound3d(sn04_1,sn04_2,sound/04_SpotPair_Piano*/stream-0-128000/index.m3u8,sound04,180,4);  sound[sn04_2].play(); sound[sn04_2].seek(0);  set(sound[sn04_2].volume,1););
	playsound_at_hotspot(sn05_1, sound/05_SpotPair_Woodwind2/stream-0-128000/index.m3u8, sound05 ,false,0,180, addnewsound3d(sn05_1,sn05_2,sound/05_SpotPair_Woodwind*/stream-0-128000/index.m3u8,sound05,180,4);   sound[sn05_2].play(); sound[sn05_2].seek(0);  set(sound[sn05_2].volume,1); );
	playsound_at_hotspot(sn06_1, sound/06_Spot_Violin12/stream-0-128000/index.m3u8, sound06 ,false,0,180,  addnewsound3d(sn06_1,sn06_2,sound/06_Spot_Violin1*/stream-0-128000/index.m3u8,sound06,180,4);   sound[sn06_2].play(); sound[sn06_2].seek(0);  set(sound[sn06_2].volume,1); );
	playsound_at_hotspot(sn07_1, sound/07_Spot_Violin22/stream-0-128000/index.m3u8,sound07 ,false,0,180,  addnewsound3d(sn07_1,sn07_2,sound/07_Spot_Violin2*/stream-0-128000/index.m3u8,sound07,180,4);   sound[sn07_2].play(); sound[sn07_2].seek(0);  set(sound[sn07_2].volume,1); );
	playsound_at_hotspot(sn08_1, sound/08_Spot_Viola2/stream-0-128000/index.m3u8, sound08 ,false,0,180,  addnewsound3d(sn08_1,sn08_2,sound/08_Spot_Viola*/stream-0-128000/index.m3u8,sound08,180,4);   sound[sn08_2].play(); sound[sn08_2].seek(0);  set(sound[sn08_2].volume,1); );
	playsound_at_hotspot(sn09_1, sound/09_Spot_Cello2/stream-0-128000/index.m3u8,sound09 ,false,0,180,  addnewsound3d(sn09_1,sn09_2,sound/09_Spot_Cello*/stream-0-128000/index.m3u8,sound09,180,4);    sound[sn09_2].play(); sound[sn09_2].seek(0);  set(sound[sn09_2].volume,1););
	playsound_at_hotspot(sn10_1, sound/10_Spot_Bass2/stream-0-128000/index.m3u8, sound10 ,false,0,180,  addnewsound3d(sn10_1,sn10_2,sound/10_Spot_Bass*/stream-0-128000/index.m3u8,sound10,180,4);   sound[sn10_2].play(); sound[sn10_2].seek(0);  set(sound[sn10_2].volume,1););
	
	
	playsound_at_hotspot(sn01_2, sound/01_MainPair3/stream-0-128000/index.m3u8,sound01,false,0,270,  addnewsound3d(sn01_2,sn01_1,sound/01_MainPair*/stream-0-128000/index.m3u8,sound01,270,5); sound[sn01_1].play(); sound[sn01_1].seek(0);  set(sound[sn01_1].volume,1);   );
	playsound_at_hotspot(sn02_2, sound/02_OutriggerPair3/stream-0-128000/index.m3u8, sound02 ,false,0,180,  addnewsound3d(sn02_1,sn02_2,sound/02_OutriggerPair*/stream-0-128000/index.m3u8,sound02,180,5); sound[sn02_1].play(); sound[sn02_1].seek(0);  set(sound[sn02_1].volume,1); );
	playsound_at_hotspot(sn03_2, sound/03_HallPair3/stream-0-128000/index.m3u8,sound03 ,false,0,180,   addnewsound3d(sn03_2,sn03_1,sound/03_HallPair*/stream-0-128000/index.m3u8,sound03,180,5); sound[sn03_1].play(); sound[sn03_1].seek(0);  set(sound[sn03_1].volume,1); );
	playsound_at_hotspot(sn04_2, sound/04_SpotPair_Piano3/stream-0-128000/index.m3u8, sound04 ,false,0,180,   addnewsound3d(sn04_2,sn04_1,sound/04_SpotPair_Piano*/stream-0-128000/index.m3u8,sound04,180,5); sound[sn04_1].play(); sound[sn04_1].seek(0);  set(sound[sn04_1].volume,1););
	playsound_at_hotspot(sn05_2, sound/05_SpotPair_Woodwind3/stream-0-128000/index.m3u8, sound05 ,false,0,180,   addnewsound3d(sn05_2,sn05_1,sound/05_SpotPair_Woodwind*/stream-0-128000/index.m3u8,sound05,180,5); sound[sn05_1].play(); sound[sn05_1].seek(0);  set(sound[sn05_1].volume,1); );
	playsound_at_hotspot(sn06_2, sound/06_Spot_Violin13/stream-0-128000/index.m3u8, sound06 ,false,0,180,   addnewsound3d(sn06_2,sn06_1,sound/06_Spot_Violin1*/stream-0-128000/index.m3u8,sound06,180,5); sound[sn06_1].play(); sound[sn06_1].seek(0);  set(sound[sn06_1].volume,1); );
	playsound_at_hotspot(sn07_2, sound/07_Spot_Violin23/stream-0-128000/index.m3u8,sound07 ,false,0,180,  addnewsound3d(sn07_2,sn07_1,sound/07_Spot_Violin2*/stream-0-128000/index.m3u8,sound07,180,5); sound[sn07_1].play(); sound[sn07_1].seek(0);  set(sound[sn07_1].volume,1); );
	playsound_at_hotspot(sn08_2, sound/08_Spot_Viola3/stream-0-128000/index.m3u8, sound08 ,false,0,180,addnewsound3d(sn08_2,sn08_1,sound/08_Spot_Viola*/stream-0-128000/index.m3u8,sound08,180,5);  sound[sn08_1].play(); sound[sn08_1].seek(0);  set(sound[sn08_1].volume,1); );
	playsound_at_hotspot(sn09_2, sound/09_Spot_Cello3/stream-0-128000/index.m3u8,sound09 ,false,0,180, addnewsound3d(sn09_2,sn09_1,sound/09_Spot_Cello*/stream-0-128000/index.m3u8,sound09,180,5);  sound[sn09_1].play(); sound[sn09_1].seek(0);  set(sound[sn09_1].volume,1););
	playsound_at_hotspot(sn10_2, sound/10_Spot_Bass3/stream-0-128000/index.m3u8, sound10 ,false,0,180,  addnewsound3d(sn10_2,sn10_1,sound/10_Spot_Bass*/stream-0-128000/index.m3u8,sound10,180,5);   sound[sn10_1].play(); sound[sn10_1].seek(0);  set(sound[sn10_1].volume,1););
	-->
	
	
	<!--  son hali
	
	
	
	playsound_at_hotspot(sn01_1, sound/2_blm_a-b_1.aac, sound01 ,false,0,210,  addnewsound3d(sn01_1,sn01_2,sound/2_blm_a-b_*.aac,sound01,210,3);     sound[sn01_2].seek(0); sound[sn01_2].play();  set(sound[sn01_2].volume,1); );
	playsound_at_hotspot(sn02_1, sound/2_blm_clr-fgt_1.aac, sound02 ,false,0,60,  addnewsound3d(sn02_1,sn02_2,sound/2_blm_clr-fgt_*.aac,sound02,60,3);       sound[sn02_2].seek(0); sound[sn02_2].play();  set(sound[sn02_2].volume,1); );
	playsound_at_hotspot(sn03_1, sound/2_blm_fl-oboe_1.aac,sound03 ,false,0,60,   addnewsound3d(sn03_1,sn03_2,sound/2_blm_fl-oboe_*.aac,sound03,60,3);   sound[sn03_2].seek(0);   sound[sn03_2].play(); set(sound[sn03_2].volume,1); );
	playsound_at_hotspot(sn04_1, sound/2_blm_cb_1.aac, sound04 ,false,0,60,   addnewsound3d(sn04_1,sn04_2,sound/2_blm_cb_*.aac,sound04,60,3); sound[sn04_2].seek(0); sound[sn04_2].play();   set(sound[sn04_2].volume,1););
	playsound_at_hotspot(sn05_1, sound/2_blm_full_st_1.aac, sound05 ,false,0,180, addnewsound3d(sn05_1,sn05_2,sound/2_blm_full_st_*.aac,sound05,180,3);  sound[sn05_2].seek(0);  sound[sn05_2].play();  set(sound[sn05_2].volume,1); );
	playsound_at_hotspot(sn06_1, sound/2_blm_frhorn_1.aac, sound06 ,false,0,90,  addnewsound3d(sn06_1,sn06_2,sound/2_blm_frhorn_*.aac,sound06,90,3);  sound[sn06_2].seek(0); sound[sn06_2].play();   set(sound[sn06_2].volume,1); );
	playsound_at_hotspot(sn07_1, sound/2_blm_va_1.aac,sound07 ,false,0,180,  addnewsound3d(sn07_1,sn07_2,sound/2_blm_va_*.aac,sound07,180,3);  sound[sn07_2].seek(0); sound[sn07_2].play();   set(sound[sn07_2].volume,1); );
	playsound_at_hotspot(sn08_1, sound/2_blm_trp-trb_1.aac, sound08 ,false,0,60,  addnewsound3d(sn08_1,sn08_2,sound/2_blm_trp-trb_*.aac,sound08,60,3);  sound[sn08_2].seek(0);  sound[sn08_2].play();  set(sound[sn08_2].volume,1); );
	playsound_at_hotspot(sn09_1, sound/2_blm_vc_1.aac,sound09 ,false,0,60,  addnewsound3d(sn09_1,sn09_2,sound/2_blm_vc_*.aac,sound09,60,3);  sound[sn09_2].seek(0);  sound[sn09_2].play();   set(sound[sn09_2].volume,1););
	playsound_at_hotspot(sn10_1, sound/2_blm_vl_1_1.aac, sound10 ,false,0,60,  addnewsound3d(sn10_1,sn10_2,sound/2_blm_vl_1_*.aac,sound10,60,3);  sound[sn10_2].seek(0); sound[sn10_2].play();   set(sound[sn10_2].volume,1););
	
	
	
	
	
		
	playsound_at_hotspot(sn01_2, sound/2_blm_a-b_2.aac, sound01 ,false,0,210,  addnewsound3d(sn01_2,sn01_1,sound/2_blm_a-b_*.aac,sound01,210,4);       sound[sn01_1].seek(0); sound[sn01_1].play();  set(sound[sn01_1].volume,1); );
	playsound_at_hotspot(sn02_2, sound/2_blm_clr-fgt_2.aac, sound02 ,false,0,60,  addnewsound3d(sn02_2,sn02_1,sound/2_blm_clr-fgt_*.aac,sound02,60,4); sound[sn02_1].seek(0);  sound[sn02_1].play();  set(sound[sn02_1].volume,1); );
	playsound_at_hotspot(sn03_2, sound/2_blm_fl-oboe_2.aac,sound03 ,false,0,60,   addnewsound3d(sn03_2,sn03_1,sound/2_blm_fl-oboe_*.aac,sound03,60,4); sound[sn03_1].seek(0);  sound[sn03_1].play();  set(sound[sn03_1].volume,1); );
	playsound_at_hotspot(sn04_2, sound/2_blm_cb_2.aac, sound04 ,false,0,60,   addnewsound3d(sn04_2,sn04_1,sound/2_blm_cb_*.aac,sound04,60,4); sound[sn04_1].seek(0);sound[sn04_1].play();   set(sound[sn04_1].volume,1););
	playsound_at_hotspot(sn05_2, sound/2_blm_full_st_2.aac, sound05 ,false,0,180,   addnewsound3d(sn05_2,sn05_1,sound/2_blm_full_st_*.aac,sound05,180,4);sound[sn05_1].seek(0); sound[sn05_1].play();   set(sound[sn05_1].volume,1); );
	playsound_at_hotspot(sn06_2, sound/2_blm_frhorn_2.aac, sound06 ,false,0,90,   addnewsound3d(sn06_2,sn06_1,sound/2_blm_frhorn_*.aac,sound06,90,4); sound[sn06_1].seek(0); sound[sn06_1].play();   set(sound[sn06_1].volume,1); );
	playsound_at_hotspot(sn07_2, sound/2_blm_va_2.aac,sound07 ,false,0,180,  addnewsound3d(sn07_2,sn07_1,sound/2_blm_va_*.aac,sound07,180,4); sound[sn07_1].seek(0); sound[sn07_1].play();   set(sound[sn07_1].volume,1); );
	playsound_at_hotspot(sn08_2, sound/2_blm_trp-trb_2.aac, sound08 ,false,0,60,addnewsound3d(sn08_2,sn08_1,sound/2_blm_trp-trb_*.aac,sound08,60,4);  sound[sn08_1].seek(0);sound[sn08_1].play();   set(sound[sn08_1].volume,1); );
	playsound_at_hotspot(sn09_2, sound/2_blm_vc_2.aac,sound09 ,false,0,60, addnewsound3d(sn09_2,sn09_1,sound/2_blm_vc_*.aac,sound09,60,4); sound[sn09_1].seek(0); sound[sn09_1].play();   set(sound[sn09_1].volume,1););
	playsound_at_hotspot(sn10_2, sound/2_blm_vl_1_2.aac, sound10 ,false,0,60,  addnewsound3d(sn10_2,sn10_1,sound/2_blm_vl_1_*.aac,sound10,60,4);  sound[sn10_1].seek(0); sound[sn10_1].play();   set(sound[sn10_1].volume,1););
	-->
		<!--

	playsound_at_hv(sn01, sound/01_MainPair/stream-0-128000/index.m3u8,0,0,1000 ,false,1,200, );
	playsound_at_hv(sn02, sound/02_OutriggerPair/stream-0-128000/index.m3u8, 0,0,1000 ,false,1,200, );
	playsound_at_hv(sn03, sound/03_HallPair/stream-0-128000/index.m3u8,0,0,1000 ,false,1,200, );
	playsound_at_hv(sn04, sound/04_SpotPair_Piano/stream-0-128000/index.m3u8, 0,0,1000 ,false,1,200, );
	playsound_at_hv(sn05, sound/05_SpotPair_Woodwind/stream-0-128000/index.m3u8, 0,0,1000 ,false,1,200, );
	playsound_at_hv(sn06, sound/06_Spot_Violin1/stream-0-128000/index.m3u8, 0,0,1000 ,false,1,200, );
	playsound_at_hv(sn07, sound/07_Spot_Violin2/stream-0-128000/index.m3u8,0,0,1000 ,false,1,200, );
	playsound_at_hv(sn08, sound/08_Spot_Viola/stream-0-128000/index.m3u8, 0,0,1000 ,false,1,200, );
	playsound_at_hv(sn09, sound/09_Spot_Cello/stream-0-128000/index.m3u8,0,0,1000 ,false,1,200, );
	playsound_at_hv(sn10, sound/10_Spot_Bass/stream-0-128000/index.m3u8, 0,0,1000 ,false,1,200, );
	
	set(sound[sn01].ath, 20);
	set(sound[sn02].ath, 30);
	set(sound[sn03].ath, 50);
	set(sound[sn04].ath, 70);
	set(sound[sn05].ath, 90);
	set(sound[sn06].ath, 140);
	set(sound[sn07].ath, 170);
	set(sound[sn08].ath, 250);
	set(sound[sn09].ath, 270);
	set(sound[sn10].ath,300 );
	-->

	<!--
	set(sound[sn01].range, 120);
	set(sound[sn02].range, 120);
	set(sound[sn03].range, 120);
	set(sound[sn04].range, 120);
	set(sound[sn05].range, 120);
	set(sound[sn06].range, 120);
	set(sound[sn07].range, 120);
	set(sound[sn08].range, 120);
	set(sound[sn09].range, 120);
	set(sound[sn10].range,120 );
		set(sound[sn01].depth, 1000);
	set(sound[sn02].depth, 1000);
	set(sound[sn03].depth, 1000);
	set(sound[sn04].depth, 1000);
	set(sound[sn05].depth, 1000);
	set(sound[sn06].depth, 1000);
	set(sound[sn07].depth, 1000);
	set(sound[sn08].depth, 1000);
	set(sound[sn09].depth, 1000);
	set(sound[sn10].depth,1000 );
	
	soundready(sn01);
	soundready(sn02);
	soundready(sn03);
	soundready(sn04);
	soundready(sn05);
	soundready(sn06);
	soundready(sn07);
	soundready(sn08);
	soundready(sn09);
	soundready(sn10);
		-->
	<!--
	createsound(sn01, sound/01_MainPair/stream-0-128000/index.m3u8, false );
	createsound(sn02, sound/02_OutriggerPair/stream-0-128000/index.m3u8, false );
	createsound(sn03, sound/03_HallPair/stream-0-128000/index.m3u8, false );
	createsound(sn04, sound/04_SpotPair_Piano/stream-0-128000/index.m3u8, false );
	createsound(sn05, sound/05_SpotPair_Woodwind/stream-0-128000/index.m3u8, false );
	createsound(sn06, sound/06_Spot_Violin1/stream-0-128000/index.m3u8, false );
	createsound(sn07, sound/07_Spot_Violin2/stream-0-128000/index.m3u8, false );
	createsound(sn08, sound/08_Spot_Viola/stream-0-128000/index.m3u8, false );
	createsound(sn09, sound/09_Spot_Cello/stream-0-128000/index.m3u8, false);
	createsound(sn10, sound/10_Spot_Bass/stream-0-128000/index.m3u8, false);
	
	streamsound(sn01, sound/01_MainPair/stream-0-128000/index.m3u8, false );
	streamsound(sn02, sound/02_OutriggerPair/stream-0-128000/index.m3u8, false );
	streamsound(sn03, sound/03_HallPair/stream-0-128000/index.m3u8, false );
	streamsound(sn04, sound/04_SpotPair_Piano/stream-0-128000/index.m3u8, false );
	streamsound(sn05, sound/05_SpotPair_Woodwind/stream-0-128000/index.m3u8, false );
	streamsound(sn06, sound/06_Spot_Violin1/stream-0-128000/index.m3u8, false );
	streamsound(sn07, sound/07_Spot_Violin2/stream-0-128000/index.m3u8, false );
	streamsound(sn08, sound/08_Spot_Viola/stream-0-128000/index.m3u8, false );
	streamsound(sn09, sound/09_Spot_Cello/stream-0-128000/index.m3u8, false);
	streamsound(sn10, sound/10_Spot_Bass/stream-0-128000/index.m3u8, false);
	
	preloadsound(sound/01_MainPair/stream-0-128000/index.m3u8);
	preloadsound(sound/02_OutriggerPair/stream-0-128000/index.m3u8);
	preloadsound(sound/03_HallPair/stream-0-128000/index.m3u8);
	preloadsound(sound/04_SpotPair_Piano/stream-0-128000/index.m3u8);
	preloadsound(sound/05_SpotPair_Woodwind/stream-0-128000/index.m3u8);
	preloadsound(sound/06_Spot_Violin1/stream-0-128000/index.m3u8);
	preloadsound(sound/07_Spot_Violin2/stream-0-128000/index.m3u8);
	preloadsound(sound/08_Spot_Viola/stream-0-128000/index.m3u8);
	preloadsound(sound/09_Spot_Cello/stream-0-128000/index.m3u8);
	preloadsound(sound/10_Spot_Bass/stream-0-128000/index.m3u8); -->
	</action>
	
	
	
	<action name="soundready" >
	<!-- if(sound[%1].duration LT 1 
	, debug(get(sound[%1].duration)); debug(get(sound[%1].position)); delayedcall(0.25,  soundready(%1) );
	,debug(get(sound[%1].duration)); set(%1ready, true); prestartallsound();
	);
	-->
	
	</action>
	
	
	<action name="allsoundcreate" >
	set(videopauseplay,true);
	
		set(plugin[play2].visible, false);
	set(plugin[play].visible, false);
	removehotspot(vr_menu_lx);
	allparttogglepausesend();
	plugin[sn01].play();
	plugin[sn02].play();
plugin[panoravideoplayer].play();


delayedcall(3, 


	add(view.vlookat, 0.02);
	
	

	
	allpartvolumesend(1);
	

set(plugin[sn01].volume,1);
set(plugin[sn02].volume,1);
	
	setinterval(testint, 1 ,intervardebugaction(); );
	);
	
	
	 <!--set(plugin[play2].visible, true);
	
	sound[sn01_1].play();
	sound[sn02_1].play();
	sound[sn03_1].play();
	sound[sn04_1].play();
	sound[sn05_1].play();
	sound[sn06_1].play();
	sound[sn07_1].play();
	sound[sn08_1].play();
	sound[sn09_1].play();
	sound[sn10_1].play();	
	
	sound[sn01_2].play();
	sound[sn02_2].play();
	sound[sn03_2].play();
	sound[sn04_2].play();
	sound[sn05_2].play();
	sound[sn06_2].play();
	sound[sn07_2].play();
	sound[sn08_2].play();
	sound[sn09_2].play();
	sound[sn10_2].play();	
	
	wait(0.5);
	
	 sound[sn01_1].pause();
	sound[sn02_1].pause();
	sound[sn03_1].pause();
	sound[sn04_1].pause();
	sound[sn05_1].pause();
	sound[sn06_1].pause();
	sound[sn07_1].pause();
	sound[sn08_1].pause();
	sound[sn09_1].pause();
	sound[sn10_1].pause();
	
	sound[sn01_2].pause();
	sound[sn02_2].pause();
	sound[sn03_2].pause();
	sound[sn04_2].pause();
	sound[sn05_2].pause();
	sound[sn06_2].pause();
	sound[sn07_2].pause();
	sound[sn08_2].pause();
	sound[sn09_2].pause();
	sound[sn10_2].pause();
	
	sound[sn01_1].seek(0);
	sound[sn02_1].seek(0);
	sound[sn03_1].seek(0);
	sound[sn04_1].seek(0);
	sound[sn05_1].seek(0);
	sound[sn06_1].seek(0);
	sound[sn07_1].seek(0);
	sound[sn08_1].seek(0);
	sound[sn09_1].seek(0);
	sound[sn10_1].seek(0);
	
	soundready(sn01_1);
	soundready(sn02_1);
	soundready(sn03_1);
	soundready(sn04_1);
	soundready(sn05_1);
	soundready(sn06_1);
	soundready(sn07_1);
	soundready(sn08_1);
	soundready(sn09_1);
	soundready(sn10_1);
	-->
	</action>
	
	
	<action name="prestartallsound" >
	<!--if(sn10_1ready  AND sn01_1ready AND sn02_1ready AND sn03_1ready AND sn04_1ready AND sn05_1ready AND sn06_1ready AND sn07_1ready AND sn08_1ready AND sn09_1ready 
	, 
	set(plugin[play2].visible , true); startallsound();  
	); -->
	</action>
	
	
	
	
	<action name="startallsound"> 
	set(plugin[play2].visible , false);
	
<!--
	
	if(sn10_1ready  AND sn01_1ready AND sn02_1ready AND sn03_1ready AND sn04_1ready AND sn05_1ready AND sn06_1ready AND sn07_1ready AND sn08_1ready AND sn09_1ready 
	, 

	sound[sn01_1].play();
	sound[sn02_1].play();
	sound[sn03_1].play();
	sound[sn04_1].play();
	sound[sn05_1].play();
	sound[sn06_1].play();
	sound[sn07_1].play();
	sound[sn08_1].play();
	sound[sn09_1].play();
	sound[sn10_1].play();
	set(sound[sn01_1].volume,1);
	set(sound[sn02_1].volume,1);
	set(sound[sn03_1].volume,1);
	set(sound[sn04_1].volume,1);
	set(sound[sn05_1].volume,1);
	set(sound[sn06_1].volume,1);
	set(sound[sn07_1].volume,1);
	set(sound[sn08_1].volume,1);
	set(sound[sn09_1].volume,1);
	set(sound[sn10_1].volume,1);
	debug(videostart);
		
	sound[sn01_1].seek(0);
	sound[sn02_1].seek(0);
	sound[sn03_1].seek(0);
	sound[sn04_1].seek(0);
	sound[sn05_1].seek(0);
	sound[sn06_1].seek(0);
	sound[sn07_1].seek(0);
	sound[sn08_1].seek(0);
	sound[sn09_1].seek(0);
	sound[sn10_1].seek(0);
	
	
	
	
	,  );
-->
	</action>
	
	










	<style name="vr_menu_style" depth="140" scale="0.035" distorted="true" ath="0" atv="45" alpha="0.25" torigin="view" visible="false" />

	<hotspot name="vr_menu_bg"   style="vr_menu_style" keep="true" zorder="5" type="text" bg="true" bgcolor="0x000000" bgalpha="0.0" width="450" height="120" handcursor="false" onover="vr_menu_over();" onout="vr_menu_out();" />
	<hotspot name="vr_menu_home" style="vr_menu_style" keep="true" zorder="6" url="icons.png" crop="0|0|280|100" onover="vr_menu_over(); delayedcall(0,tween(alpha,0.75,0.1));" onout="vr_menu_out();" startupxml=""   />
	
	<hotspot name="vr_menu_lx"   url="skin/vtourskin.png" crop="0|640|64|64" usewebvr="true" keep="true" visible="true"  distorted="true" zorder="6"  scale="1" ox="0" onover="vr_menu_over(); delayedcall(0,tween(alpha,0.75,0.1));" onout="vr_menu_out();" vr_timeout="1700" onclick="call(layer[play].onclick);" />
	<!--<hotspot name="vr_menu_r"   style="skin_base" crop="64|704|64|64" usewebvr="true" keep="true" visible="false" distorted="true" zorder="6" scale="0.6" ox="+28" onover="vr_menu_over(); delayedcall(0,tween(alpha,0.75,0.1));" onout="vr_menu_out();" vr_timeout="1700" onclick="if(plugin[panoravideoplayer].volume GT 0.0, set(plugin[panoravideoplayer].volume,0.0), set(plugin[panoravideoplayer].volume,1.0)); skin_volumectrl_update();" />
-->
	<action name="vr_menu_over">
		callwith(hotspot[vr_menu_bg],   tween(alpha|depth,1.0|135); );
		callwith(hotspot[vr_menu_home], tween(alpha|depth,0.5|135); );
		callwith(hotspot[vr_menu_lx],     );
		callwith(hotspot[vr_menu_r],   );
	</action>

	<action name="vr_menu_out">
		if(hotspot[vr_menu].hovering == false,
			callwith(hotspot[vr_menu_bg],   tween(alpha|depth,0.25|140); );
			callwith(hotspot[vr_menu_home], tween(alpha|depth,0.25|140); );
			callwith(hotspot[vr_menu_lx],    );
			callwith(hotspot[vr_menu_r],     );
		  );
	</action>

	<action name="vr_menu_loadhome">
		if(indexof(startupxml,'://') LT 0, txtadd(startupxml, '%HTMLPATH%/', get(startupxml)); );
		loadpano(get(startupxml), null, MERGE|KEEPMOVING, BLEND(1));
		vr_menu_setvisibility(false);
		add_examples();
		showthumbs();
	</action>

	<action name="vr_menu_setvisibility">
		set(hotspot[vr_menu_bg].visible,   %1);
		set(hotspot[vr_menu_home].visible, %1);
		if(scene.count GT 1,
			set(hotspot[vr_menu_bg].width, 600);
			set(hotspot[vr_menu_lx].visible, %1);
			set(hotspot[vr_menu_r].visible, %1);
		  ,
			set(hotspot[vr_menu_bg].width, 320);
			set(hotspot[vr_menu_lx].visible, false);
			set(hotspot[vr_menu_r].visible, false);
		  );
	</action>

	<action name="vr_menu_nextscene">
		
	</action>

	<events name="vr_menu_eventsmenux" keep="true" onviewchange="vr_menu_followingx();"  />

	<action name="vr_menu_followingx" type="Javascript"><![CDATA[

		var hs1 = krpano.get("hotspot[vr_menu_bg]");
		var hs2 = krpano.get("hotspot[vr_menu_home]");
		var hs3 = krpano.get("hotspot[vr_menu_lx]");
		var hs4 = krpano.get("hotspot[vr_menu_r]");

		if(!hs1.hovering && !hs2.hovering && !hs3.hovering && !hs4.hovering)
		{
			var f = 0.01;	// follow speed factor

			var h = krpano.view.hlookat;
			var v = krpano.view.vlookat;
			var hsh = hs1.ath;
			var hsv = hs1.atv;

			// map to -180 to +180
			h   = (h  -(h|0))   + (((h|0)  +360180)%360) - 180.0;
			hsh = (hsh-(hsh|0)) + (((hsh|0)+360180)%360) - 180.0;

			// get the shortest horizontal distance
			dh = h - hsh;
			dh += (dh>180) ? -360 : (dh<-180) ? 360 : 0

			// follow slowing horizontally
			hsh += dh*f;

			// fade out when farther away
			var a = Math.abs(v - hs1.atv) / 90.0;
			a = 0.5 * Math.max(1.0 - 2.0*Math.sqrt(a), 0);

			// move up the more looking down
			v = v + 55.0 - v*1.5;
			hsv = hsv*(1-f) + v*f;

			// set everything
			hs2.alpha = hs1.alpha = a;
			if(!hs3.hovering) hs3.alpha = a;
			if(!hs4.hovering) hs4.alpha = a;
			hs4.ath = hs3.ath = hs2.ath = hs1.ath = hsh;
			hs4.atv = hs3.atv = hs2.atv = hs1.atv = hsv;
		}
	]]></action>














<action name="checkfileExistFunction" type="Javascript" >
<![CDATA[



		const dataToSend = {
				fileurl: args[7].toString()
		
			
		};
		
	
		
		const api = "./gerenate_text_exist.php";// Change path to PHP api in server
			
		
						
		const controller = new AbortController();				
		const timeoutId = setTimeout(() => {controller.abort();}, 3000);	
			
		
		const fetchOptions = {
				method: "POST",
				headers:{
					'Content-type':'application/json',
					'Accept': 'application/json, text/plain, */*',
					'Access-Control-Allow-Origin': '*' ,
					'Access-Control-Allow-Methods': '*',
					'Access-Control-Allow-Headers': 'Origin, Content-Type, X-Auth-Token'
				},
				cache: 'no-cache',
				signal: controller.signal,
				body: btoa(JSON.stringify(dataToSend))
		};
		fetch(api, fetchOptions)
			.then(response => response.json())
			.then(jsonData => {				
					clearTimeout(timeoutId);
					
					const respond_code = jsonData['respond_code'];	
					
			// Finish sending here
					if(respond_code.toString() == "true")
					{
					  krpano.call(" playsound_at_hotspot("+args[1].toString()+","+args[7].toString()+","+args[4].toString()+","+args[8].toString()+","+args[9].toString()+","+args[5].toString()+", add(sayi , "+args[6].toString()+",2); txtreplace(temptxt,"+args[3].toString()+",*, get(sayi));  addnewsound3d("+args[1].toString()+","+args[2].toString()+","+args[3].toString()+","+args[4].toString()+","+args[5].toString()+",get(sayi)); sound["+args[2].toString()+"].play(); sound["+args[2].toString()+"].seek(0);  set(sound["+args[2].toString()+"].volume,1);  ); ");
					}
					else
					{
					 
					}
					
			})	
			.catch(err => {
					clearTimeout(timeoutId);							
			});
			
	
]]></action>












<textstyle name="DEFAULT"
			   font="Montserrat"
			   fontsize="12"
			   bold="true"
			   italic="false"
			   background="false"
			    
			   border="false"
			  
			   textcolor="0xFFFFFF"
			   textshadow="0.4"
			   
			   alpha="1.0"
			   blendmode="normal"
			  
			   origin="cursor"
			   edge="bottom"
			   textalign="justify"
			   xoffset="0"
			   yoffset="-3"
			   effect="dropshadow(1,30,0x000000,1,1);"
			   />  
			   
			   <textstyle name="DEFAULTarap"
			   font="Amiri"
			   fontsize="15"
			   bold="true"
			   italic="false"
			   background="false"
			    
			   border="false"
			   
			   textcolor="0xFFFFFF"
			   textshadow="0.4"
			   
			   alpha="1.0"
			   blendmode="normal"
			  
			   origin="cursor"
			   edge="bottom"
			   textalign="justify"
			   xoffset="0"
			   yoffset="-3"
			   effect="dropshadow(1,30,0x000000,1,1);"
			   />
</krpano>
