<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19-pr16"
        onstart="startup"
        logkey="false"
        bgcolor="#b76231"
        projectfloorplanurl=""
        projecttitleid="project_title"
        projectdescriptionid="project_description">


  <security cors="">
    <!--
    <crossdomainxml url="http://RESSOURCES_URL/crossdomain.xml" />
    -->
    <allowdomain domain="*" />
  </security>

  <krpano tour_firststartactiondone="false" tour_firstlittleplanet="false"/>
  <events name="startbehavioursevents" onxmlcomplete="startbehavioursxmlcompleteaction();" onloadcomplete="startLittlePlanetIntroEffect();" keep="true"/>

  <!-- generated by Panotour Pro V2.5.14 64bits : 14-08-2019 21-09-56 -->
  <!-- Project file : C:/travail/visite/projet complet/apchon retable.kpt -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/Apchon 10_skin_vr.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/Apchon 10_core_vr.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/Apchon 10_messages_fr.xml"/>

  <action name="startup">
    preloadSounds();

    if (s !== null, if (startscene === null OR startscene === "undefined", set(startscene, get(s));); );
    if (startscene === null OR startscene === "undefined",
      set(startscene, pano66);
    );
    if(startlanguage !== null AND startlanguage !== "undefined",
      set(tour_language, get(startlanguage));
    );
    if(starttime !== null AND starttime !== "undefined" AND starttime GT 0,
      set(videoscenestarttime, get(starttime));
    ,
      set(videoscenestarttime, 0);
    );
    if(scene[get(startscene)].full360,
    mainloadsceneStartup(get(startscene));
    if (h !== null,
      if (v !== null,
        if (f !== null,
          lookat(get(h), get(v), get(f));
         ,
          lookat(get(h), get(v));
        );
      ,
        if (f !== null,
          lookat(get(h), get(view.vlookat), get(f));
         ,
          lookat(get(h), get(view.vlookat));
        );
      );
    ,
      if (v !== null,
        if (f !== null,
          lookat(get(view.hlookat), get(v), get(f));
         ,
          lookat(get(view.hlookat), get(v));
        );
      ,
        if (f !== null,
          lookat(get(view.hlookat), get(view.vlookat), get(f));
        );
      );
    );
    );
  </action>

  <!-- 2 Groups -->

  <!-- Group Groupe 67 : 1 panoramas -->
  
<!-- **** @PanoName="place retable [Group 0]-_DSC3846cantal 19And2more__DSC3897cantal 19And2more-18 images" @PanoFile="I:/cantal/pano/face cube/place retable [Group 0]-_DSC3846cantal 19And2more__DSC3897cantal 19And2more-18 images_0.psb" **** -->
<!-- **** Width="36994px" Height="18497px" **** -->
<scene name="pano66"
       heading="0"
       thumburl="%FIRSTXML%/place_retable__group_66/thumbnail.jpg"

       backgroundsound="_0913_fontaine.mp3"
       backgroundsoundloops="0"
       haslocalsounds="true"
       haspolygons="false"
       titleid="pano66_title"
       descriptionid="pano66_description"
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="4.000000" tofov="50.000000" waittime="3" speed="-5"/>
    <panoview h="-38.000000" v="4.000000" fov="50.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="112.5" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="22.5"
          fovtype="VFOV"
          fovmax="112.5"
          fov="50.000000"
          hlookat="-38.000000"
          vlookat="4.000000"/>
    <preview url="%FIRSTXML%/place_retable__group_66/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="11776" tiledimageheight="11776">
          <front url="place_retable__group_66/0/4/%v/%u.jpg"/>
          <right url="place_retable__group_66/1/4/%v/%u.jpg"/>
          <back  url="place_retable__group_66/2/4/%v/%u.jpg"/>
          <left  url="place_retable__group_66/3/4/%v/%u.jpg"/>
          <up    url="place_retable__group_66/4/4/%v/%u.jpg"/>
          <down  url="place_retable__group_66/5/4/%v/%u.jpg"/>
      </level>
      <level tiledimagewidth="6144" tiledimageheight="6144">
          <front url="place_retable__group_66/0/3/%v_%u.jpg"/>
          <right url="place_retable__group_66/1/3/%v_%u.jpg"/>
          <back  url="place_retable__group_66/2/3/%v_%u.jpg"/>
          <left  url="place_retable__group_66/3/3/%v_%u.jpg"/>
          <up    url="place_retable__group_66/4/3/%v_%u.jpg"/>
          <down  url="place_retable__group_66/5/3/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="3072" tiledimageheight="3072">
          <front url="place_retable__group_66/0/2/%v_%u.jpg"/>
          <right url="place_retable__group_66/1/2/%v_%u.jpg"/>
          <back  url="place_retable__group_66/2/2/%v_%u.jpg"/>
          <left  url="place_retable__group_66/3/2/%v_%u.jpg"/>
          <up    url="place_retable__group_66/4/2/%v_%u.jpg"/>
          <down  url="place_retable__group_66/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="place_retable__group_66/0/1/%v_%u.jpg"/>
          <right url="place_retable__group_66/1/1/%v_%u.jpg"/>
          <back  url="place_retable__group_66/2/1/%v_%u.jpg"/>
          <left  url="place_retable__group_66/3/1/%v_%u.jpg"/>
          <up    url="place_retable__group_66/4/1/%v_%u.jpg"/>
          <down  url="place_retable__group_66/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="place_retable__group_66/0/0/%v_%u.jpg"/>
          <right url="place_retable__group_66/1/0/%v_%u.jpg"/>
          <back  url="place_retable__group_66/2/0/%v_%u.jpg"/>
          <left  url="place_retable__group_66/3/0/%v_%u.jpg"/>
          <up    url="place_retable__group_66/4/0/%v_%u.jpg"/>
          <down  url="place_retable__group_66/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="place_retable__group_66/mobile/0.jpg"/>
      <right url="place_retable__group_66/mobile/1.jpg"/>
      <back  url="place_retable__group_66/mobile/2.jpg"/>
      <left  url="place_retable__group_66/mobile/3.jpg"/>
      <up    url="place_retable__group_66/mobile/4.jpg"/>
      <down  url="place_retable__group_66/mobile/5.jpg"/>
    </image>



  <!-- **** 1 Video Spots **** -->
  <krpano videospots_playing="0" />


  <hotspot name="spotvideo207"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid=""
           ath="-146.722065" atv="-17.470207"
           width="25"
           height="59"
           rx="-54.652193590427053"
           ry="-1.177160711826686"
           rz="-4.3614151018142717"

           muted="true"

           onclick="onclickspotvideo207_stateVideo();onclickspotvideo207(true);"
           posterurl="%FIRSTXML%/spots/sans_titre_-_1.jpg"
         />
  <hotspot name="spotvideo207" devices="flash" zorder="2"/>
  <hotspot name="spotvideo207" devices="html5" zorder="2"/>
  <hotspot name="spotvideo207" videourl="%FIRSTXML%/spots/sans_titre_-_1.mp4" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo207" videourl="%FIRSTXML%/spots/sans_titre_-_1.mp4" devices="tablet.or.mobile" onunsupported="trace('not supported');" />

  <action name="onclickspotvideo207_stateVideo">
    if(hotspot[spotvideo207].ispaused,
      set(hotspot[spotvideo207].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo207">

    if(%1,
      if(hotspot[spotvideo207].pauseothersounds,
        if(hotspot[spotvideo207].stateVideo == 'playing',
          inc(videospots_playing);
          pauseTourSoundsActions(true,true,true,true,true);

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              div(volume, tour_soundsvolume, 100);
              set(hotspot[spotvideo207].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));
              );
            );
          );
        ,

          if (tour_soundson,
            if(device.flash OR (device.webgl AND !device.ios),
              set(hotspot[spotvideo207].volume, 0);
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.stopVideosSounds());
              ,
                set(hotspot[spotvideo207].muted, true);
              );
            );
          );
          dec(videospots_playing);
          resumeTourSoundsActions(true,true,true,true,true);
        );
      );
    );
    hotspot[spotvideo207].play();

  </action>



  <action name="hidepanovideospots">
    if (hotspot[spotvideo207] !== null,
      set(hotspot[spotvideo207].visible, false);

      ifnot(hotspot[spotvideo207].alpha == 0,
        if (hotspot[spotvideo207].isvideoready,
          if(hotspot[spotvideo207].stateVideo == 'playing',
            dec(videospots_playing);
            onclickspotvideo207(false);
            if(hotspot[spotvideo207].pauseothersounds,
              resumeTourSoundsActions(false,true,true,true,true);
            );
          );
        );
      );
    );
  </action>
  <action name="showpanovideospots">
    if (hotspot[spotvideo207] !== null,
      set(hotspot[spotvideo207].visible, true);

      ifnot(hotspot[spotvideo207].alpha == 0,
        if (hotspot[spotvideo207].isvideoready,
          if(hotspot[spotvideo207].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo207(false);
            if(hotspot[spotvideo207].pauseothersounds,
              pauseTourSoundsActions(true,true,true,true,true);
            );

            if (tour_soundson,
              if(device.flash OR (device.webgl AND !device.ios),
                div(volume, tour_soundsvolume, 100);
                set(hotspot[spotvideo207].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo207].muted, false);
                  ,
                    set(hotspot[spotvideo207].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
  </action>
  <events name="pano66videospotsevents"
    onxmlcomplete="set(hotspot[spotvideo207].canstart, false);"
    onloadcomplete="if(panovideospotsstate,set(hotspot[spotvideo207].canstart, true););"
    playtoursoundsevent="if(hotspot[spotvideo207].pauseothersounds,if(hotspot[spotvideo207].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););" />

  <!-- **** 2 Point Spots **** -->





  <hotspot name="spotpoint75"
           ath="-146.746981" atv="-1.206361"
           style="IconDefaultPointSpotStyle1"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano85"
           onclick="onclickspotpoint75"
           tooltip="spotpoint75_tooltip"
           />
  <hotspot name="spotpoint75" devices="flash" zorder="3"/>
  <hotspot name="spotpoint75" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint75">
  onout();
        mainloadscene(pano85);


  </action>






  <action name="hidepanopointspots">



    set(hotspot[spotpoint75].visible, false);



  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint75].visible, true);



  </action>
  <events name="pano66stopanimatedspots" onremovepano="stopspotanimation(spotpoint75);stopspotanimation(spotpoint172);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    showpanovideospots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
    hidepanovideospots();
  </action>

  <!-- **** 0 Directional Sound Spots **** -->
  <action name="playpanolocalsounds">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo207].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo207].muted, false);
          ,
            set(hotspot[spotvideo207].muted, true);
          );
        );
      );
     ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo207].volume, 0); 
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(hotspot[spotvideo207].muted, true);
        );
      );
    );
  </action>
  <action name="stoppanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo207].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo207].muted, true);
      );
    );
  </action>
  <action name="setpanolocalsoundsvolume">
    if (tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo207].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo207].muted, false);
          ,
            set(hotspot[spotvideo207].muted, true);
          );
        );
      );
    );
  </action>
  <action name="pausepanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo207].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo207].muted, true);
      );
    );
  </action>
  <action name="resumepanolocalsounds">
    if(tour_soundson,
      div(volume, tour_soundsvolume, 100);
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo207].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo207].muted, false);
          ,
            set(hotspot[spotvideo207].muted, true);
          );
        );
      );
    ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo207].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds(get(volume)));
        ,
          set(hotspot[spotvideo207].muted, true);
        );
      );
    );
  </action>
  <events name="pano66soundsevents" onnewpano="if(plugin[soundinterface],if(plugin[soundinterface].started,playpanolocalsounds();););" />


</scene>

  <!-- Group Groupe 86 : 1 panoramas -->
  
<!-- **** @PanoName="cantal retable autel 2" @PanoFile="I:/cantal/pano/face cube/cantal retable autel 2_0.psb" **** -->
<!-- **** Width="36994px" Height="18497px" **** -->
<scene name="pano85"
       heading="0"
       thumburl="%FIRSTXML%/cantal_retable_autel_85/thumbnail.jpg"

       backgroundsound="_15_eme_extrait_kyrie.mp3"
       backgroundsoundloops="0"
       haslocalsounds="false"
       haspolygons="false"
       titleid="pano85_title"
       descriptionid="pano85_description"
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="-5.000000" tofov="74.380200" waittime="3" speed="-5"/>
    <panoview h="18.000000" v="-5.000000" fov="74.380200" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="112.5" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom=""
          fovmin="22.5"
          fovtype="VFOV"
          fovmax="112.5"
          fov="74.380200"
          hlookat="18.000000"
          vlookat="-5.000000"/>
    <preview url="%FIRSTXML%/cantal_retable_autel_85/preview.jpg" type="CUBESTRIP" striporder="FRBLUD" />
    <image type="CUBE" multires="true" baseindex="0" tilesize="512" devices="!androidstock|webgl">
      <level tiledimagewidth="11776" tiledimageheight="11776">
          <front url="cantal_retable_autel_85/0/4/%v/%u.jpg"/>
          <right url="cantal_retable_autel_85/1/4/%v/%u.jpg"/>
          <back  url="cantal_retable_autel_85/2/4/%v/%u.jpg"/>
          <left  url="cantal_retable_autel_85/3/4/%v/%u.jpg"/>
          <up    url="cantal_retable_autel_85/4/4/%v/%u.jpg"/>
          <down  url="cantal_retable_autel_85/5/4/%v/%u.jpg"/>
      </level>
      <level tiledimagewidth="6144" tiledimageheight="6144">
          <front url="cantal_retable_autel_85/0/3/%v_%u.jpg"/>
          <right url="cantal_retable_autel_85/1/3/%v_%u.jpg"/>
          <back  url="cantal_retable_autel_85/2/3/%v_%u.jpg"/>
          <left  url="cantal_retable_autel_85/3/3/%v_%u.jpg"/>
          <up    url="cantal_retable_autel_85/4/3/%v_%u.jpg"/>
          <down  url="cantal_retable_autel_85/5/3/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="3072" tiledimageheight="3072">
          <front url="cantal_retable_autel_85/0/2/%v_%u.jpg"/>
          <right url="cantal_retable_autel_85/1/2/%v_%u.jpg"/>
          <back  url="cantal_retable_autel_85/2/2/%v_%u.jpg"/>
          <left  url="cantal_retable_autel_85/3/2/%v_%u.jpg"/>
          <up    url="cantal_retable_autel_85/4/2/%v_%u.jpg"/>
          <down  url="cantal_retable_autel_85/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="cantal_retable_autel_85/0/1/%v_%u.jpg"/>
          <right url="cantal_retable_autel_85/1/1/%v_%u.jpg"/>
          <back  url="cantal_retable_autel_85/2/1/%v_%u.jpg"/>
          <left  url="cantal_retable_autel_85/3/1/%v_%u.jpg"/>
          <up    url="cantal_retable_autel_85/4/1/%v_%u.jpg"/>
          <down  url="cantal_retable_autel_85/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="cantal_retable_autel_85/0/0/%v_%u.jpg"/>
          <right url="cantal_retable_autel_85/1/0/%v_%u.jpg"/>
          <back  url="cantal_retable_autel_85/2/0/%v_%u.jpg"/>
          <left  url="cantal_retable_autel_85/3/0/%v_%u.jpg"/>
          <up    url="cantal_retable_autel_85/4/0/%v_%u.jpg"/>
          <down  url="cantal_retable_autel_85/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="cantal_retable_autel_85/mobile/0.jpg"/>
      <right url="cantal_retable_autel_85/mobile/1.jpg"/>
      <back  url="cantal_retable_autel_85/mobile/2.jpg"/>
      <left  url="cantal_retable_autel_85/mobile/3.jpg"/>
      <up    url="cantal_retable_autel_85/mobile/4.jpg"/>
      <down  url="cantal_retable_autel_85/mobile/5.jpg"/>
    </image>




  <!-- **** 7 Point Spots **** -->





  <hotspot name="spotpoint94"
           ath="-172.289160" atv="-3.136683"
           style="IconDefaultPointSpotStyle1"
           tag="point"
           distorted="true"
           depth="1000"
           descriptionid=""
           linktarget="pano66"
           onclick="onclickspotpoint94"
           tooltip="spotpoint94_tooltip"
           />
  <hotspot name="spotpoint94" devices="flash" zorder="3"/>
  <hotspot name="spotpoint94" devices="html5" zorder="3" zorder2="1"/>
  <action name="onclickspotpoint94">
  onout();
        mainloadscene(pano66);


  </action>





















  <action name="hidepanopointspots">



    set(hotspot[spotpoint94].visible, false);


















  </action>
  <action name="showpanopointspots">



  
  set(hotspot[spotpoint94].visible, true);


















  </action>
  <events name="pano85stopanimatedspots" onremovepano="stopspotanimation(spotpoint94);stopspotanimation(spotpoint194);stopspotanimation(spotpoint216);stopspotanimation(spotpoint217);stopspotanimation(spotpoint218);stopspotanimation(spotpoint222);stopspotanimation(spotpoint223);" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanopointspots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    hidepanopointspots();
  </action>


</scene>

  <krpano nofullspherepanoavailable="false" />


  <!-- Awake HTML5 plugins -->
  <events name="eventKrpanoLoadedEvts" onxmlcomplete="eventKrpanoLoadedAction();" keep="true" />
  <action name="eventKrpanoLoadedAction">
    
    set(events[eventKrpanoLoadedEvts].name, null);
    js(eventKrpanoLoaded('webvr'));
  </action>

</krpano>

