<?xml version="1.0" encoding="UTF-8"?>
<krpano version="1.19-pr16"
        onstart="startup"
        logkey="false"
        bgcolor="#ffffff"
        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 : 01-01-2025 12-28-50 -->
  <!-- Project file : J:/bonne année 2025/2015.kpt -->
  <!-- Plugins and Spot Styles -->
  <include url="%FIRSTXML%/2025_skin_vr.xml"/>
  <!-- Core actions -->
  <include url="%FIRSTXML%/2025_core_vr.xml"/>
  <!-- Tour Messages -->
  <include url="%FIRSTXML%/2025_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, pano27);
    );
    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>

  <!-- 1 Groups -->

  <!-- Group Groupe 28 : 1 panoramas -->
  
<!-- **** @PanoName="Bormes-Les-Momisas et ses 2 pélerins" @PanoFile="J:/hyeres 2024/face de cube/assis devant la creche_0.psb" **** -->
<!-- **** Width="36994px" Height="18497px" **** -->
<scene name="pano27"
       latitude="43.151127777778001"
       longitude="6.3439527777778002"
       heading="0"
       thumburl="%FIRSTXML%/assis_devant_la_crec_27/thumbnail.jpg"

       backgroundsound="blank.mp3"
       backgroundsoundloops="1"
       haslocalsounds="true"
       haspolygons="false"
       titleid="pano27_title"
       descriptionid="pano27_description"
       multires="true"
       planar="false"
       full360="true"
       video="false"
       seen="false">
    <autorotate horizon="-3.500000" tofov="50.000000" waittime="2" speed="4"/>
    <panoview h="29.000000" v="-3.500000" fov="50.000000" hmin="-180" hmax="180" vmin="-90" vmax="90" fovmax="90" />
    <view fisheye="0"
          limitview="range"
          hlookatmin="-180"
          hlookatmax="180"
          vlookatmin="-90"
          vlookatmax="90"
          maxpixelzoom="1.0"
          fovtype="VFOV"
          fovmax="90"
          fov="50.000000"
          hlookat="29.000000"
          vlookat="-3.500000"/>
    <preview url="%FIRSTXML%/assis_devant_la_crec_27/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="assis_devant_la_crec_27/0/4/%v/%u.jpg"/>
          <right url="assis_devant_la_crec_27/1/4/%v/%u.jpg"/>
          <back  url="assis_devant_la_crec_27/2/4/%v/%u.jpg"/>
          <left  url="assis_devant_la_crec_27/3/4/%v/%u.jpg"/>
          <up    url="assis_devant_la_crec_27/4/4/%v/%u.jpg"/>
          <down  url="assis_devant_la_crec_27/5/4/%v/%u.jpg"/>
      </level>
      <level tiledimagewidth="6144" tiledimageheight="6144">
          <front url="assis_devant_la_crec_27/0/3/%v_%u.jpg"/>
          <right url="assis_devant_la_crec_27/1/3/%v_%u.jpg"/>
          <back  url="assis_devant_la_crec_27/2/3/%v_%u.jpg"/>
          <left  url="assis_devant_la_crec_27/3/3/%v_%u.jpg"/>
          <up    url="assis_devant_la_crec_27/4/3/%v_%u.jpg"/>
          <down  url="assis_devant_la_crec_27/5/3/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="3072" tiledimageheight="3072">
          <front url="assis_devant_la_crec_27/0/2/%v_%u.jpg"/>
          <right url="assis_devant_la_crec_27/1/2/%v_%u.jpg"/>
          <back  url="assis_devant_la_crec_27/2/2/%v_%u.jpg"/>
          <left  url="assis_devant_la_crec_27/3/2/%v_%u.jpg"/>
          <up    url="assis_devant_la_crec_27/4/2/%v_%u.jpg"/>
          <down  url="assis_devant_la_crec_27/5/2/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1536" tiledimageheight="1536">
          <front url="assis_devant_la_crec_27/0/1/%v_%u.jpg"/>
          <right url="assis_devant_la_crec_27/1/1/%v_%u.jpg"/>
          <back  url="assis_devant_la_crec_27/2/1/%v_%u.jpg"/>
          <left  url="assis_devant_la_crec_27/3/1/%v_%u.jpg"/>
          <up    url="assis_devant_la_crec_27/4/1/%v_%u.jpg"/>
          <down  url="assis_devant_la_crec_27/5/1/%v_%u.jpg"/>
      </level>
      <level tiledimagewidth="1024" tiledimageheight="1024">
          <front url="assis_devant_la_crec_27/0/0/%v_%u.jpg"/>
          <right url="assis_devant_la_crec_27/1/0/%v_%u.jpg"/>
          <back  url="assis_devant_la_crec_27/2/0/%v_%u.jpg"/>
          <left  url="assis_devant_la_crec_27/3/0/%v_%u.jpg"/>
          <up    url="assis_devant_la_crec_27/4/0/%v_%u.jpg"/>
          <down  url="assis_devant_la_crec_27/5/0/%v_%u.jpg"/>
      </level>
    </image>
    <image type="CUBE" devices="androidstock.and.no-webgl">
      <front url="assis_devant_la_crec_27/mobile/0.jpg"/>
      <right url="assis_devant_la_crec_27/mobile/1.jpg"/>
      <back  url="assis_devant_la_crec_27/mobile/2.jpg"/>
      <left  url="assis_devant_la_crec_27/mobile/3.jpg"/>
      <up    url="assis_devant_la_crec_27/mobile/4.jpg"/>
      <down  url="assis_devant_la_crec_27/mobile/5.jpg"/>
    </image>



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


  <hotspot name="spotvideo53"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid="spotvideo53_description"
           ath="108.260551" atv="-8.981277"
           width="124"
           height="113"
           rx="-21.715477158387614"
           ry="13.099872299517063"
           rz="1.4147599056804099"

           onclick="onclickspotvideo53_stateVideo();onclickspotvideo53(true);"
           onvideoreadyspecific="onvideoreadyspotvideo53"
           tooltip="spotvideo53_tooltip"
           posterurl="%FIRSTXML%/spots/_6916683_motion_graphics_motion_graphic_1280x720.jpg"
         />
  <hotspot name="spotvideo53" devices="flash" zorder="2"/>
  <hotspot name="spotvideo53" devices="html5" zorder="2"/>
  <hotspot name="spotvideo53" videourl="%FIRSTXML%/spots/_6916683_motion_graphics_motion_graphic_1280x720.mp4" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo53" videourl="%FIRSTXML%/spots/_6916683_motion_graphics_motion_graphic_1280x720.mp4" devices="tablet.or.mobile" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo53Loader"
           style="RectVideoDefaultVideoSpotStyleLoader"
           ath="108.260551" atv="-8.981277"
           rx="-21.715477158387614"
           ry="13.099872299517063"
           rz="1.4147599056804099"
           activated="false"
           onloaded="onloadedspotvideo53Loader"
           />

  <action name="onclickspotvideo53_stateVideo">
    if(hotspot[spotvideo53].ispaused,
      set(hotspot[spotvideo53].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo53">

    if(%1,
      if(hotspot[spotvideo53].pauseothersounds,
        if(hotspot[spotvideo53].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[spotvideo53].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));              
              ,
                if (tour_soundsvolume GT 0,
                  set(hotspot[spotvideo53].muted, false);
                ,
                  set(hotspot[spotvideo53].muted, true);
                );
              );
            );
          );
        ,

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

  </action>

  <action name="onloadedspotvideo53Loader">
    animatevideospotloaderRectVideoDefaultVideoSpotStyle(spotvideo53Loader, spotvideo53call);
  </action>
  <action name="onvideoreadyspotvideo53">
    stopvideospotloaderanimationRectVideoDefaultVideoSpotStyle(spotvideo53Loader, spotvideo53call);
  </action>



  <hotspot name="spotvideo62"
           depth="off"
           style="RectVideoDefaultVideoSpotStyle"
           tag="video"
           descriptionid=""
           ath="-81.161241" atv="-14.116268"
           width="390"
           height="454"
           rx="15.147762552060557"
           ry="3.4924211712485769"
           rz="-2.9135920020563093"

           onclick="onclickspotvideo62_stateVideo();onclickspotvideo62(true);"
           onvideoreadyspecific="onvideoreadyspotvideo62"
           posterurl="%FIRSTXML%/spots/_9qceqaf9vd1qrb87sm09gsc02n.jpg"
         />
  <hotspot name="spotvideo62" devices="flash" zorder="2"/>
  <hotspot name="spotvideo62" devices="html5" zorder="2"/>
  <hotspot name="spotvideo62" videourl="%FIRSTXML%/spots/_9qceqaf9vd1qrb87sm09gsc02n.mp4" devices="desktop" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo62" videourl="%FIRSTXML%/spots/_9qceqaf9vd1qrb87sm09gsc02n.mp4" devices="tablet.or.mobile" onunsupported="trace('not supported');" />
  <hotspot name="spotvideo62Loader"
           style="RectVideoDefaultVideoSpotStyleLoader"
           ath="-81.161241" atv="-14.116268"
           rx="15.147762552060557"
           ry="3.4924211712485769"
           rz="-2.9135920020563093"
           activated="false"
           onloaded="onloadedspotvideo62Loader"
           />

  <action name="onclickspotvideo62_stateVideo">
    if(hotspot[spotvideo62].ispaused,
      set(hotspot[spotvideo62].stateVideo, 'playing');
    );
  </action>
  <action name="onclickspotvideo62">

    if(%1,
      if(hotspot[spotvideo62].pauseothersounds,
        if(hotspot[spotvideo62].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[spotvideo62].volume, get(volume));
            ,
              ifnot(device.ios,
                js(kpanotour.Sounds.startVideosSounds(get(volume)));              
              ,
                if (tour_soundsvolume GT 0,
                  set(hotspot[spotvideo62].muted, false);
                ,
                  set(hotspot[spotvideo62].muted, true);
                );
              );
            );
          );
        ,

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

  </action>

  <action name="onloadedspotvideo62Loader">
    animatevideospotloaderRectVideoDefaultVideoSpotStyle(spotvideo62Loader, spotvideo62call);
  </action>
  <action name="onvideoreadyspotvideo62">
    stopvideospotloaderanimationRectVideoDefaultVideoSpotStyle(spotvideo62Loader, spotvideo62call);
  </action>


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

      ifnot(hotspot[spotvideo53].alpha == 0,
        if (hotspot[spotvideo53].isvideoready,
          if(hotspot[spotvideo53].stateVideo == 'playing',
            dec(videospots_playing);
            onclickspotvideo53(false);
            if(hotspot[spotvideo53].pauseothersounds,
              resumeTourSoundsActions(false,true,true,true,true);
            );
          );
        );
      );
    );
    if (hotspot[spotvideo62Loader] !== null,
      set(hotspot[spotvideo62Loader].activated, false);
      set(hotspot[spotvideo62Loader].visible, false);
    );
    if (hotspot[spotvideo62] !== null,
      set(hotspot[spotvideo62].visible, false);

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

      ifnot(hotspot[spotvideo53].alpha == 0,
        if (hotspot[spotvideo53].isvideoready,
          if(hotspot[spotvideo53].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo53(false);
            if(hotspot[spotvideo53].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[spotvideo53].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo53].muted, false);
                  ,
                    set(hotspot[spotvideo53].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
    if (hotspot[spotvideo62Loader] !== null,
      set(hotspot[spotvideo62Loader].activated, true);
      set(hotspot[spotvideo62Loader].visible, true);
    );
    if (hotspot[spotvideo62] !== null,
      set(hotspot[spotvideo62].visible, true);

      ifnot(hotspot[spotvideo62].alpha == 0,
        if (hotspot[spotvideo62].isvideoready,
          if(hotspot[spotvideo62].stateVideo == 'playing',
            inc(videospots_playing);
            onclickspotvideo62(false);
            if(hotspot[spotvideo62].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[spotvideo62].volume, get(volume));
              ,
                ifnot(device.ios,
                  js(kpanotour.Sounds.startVideosSounds(get(volume)));
                ,
                  if (tour_soundsvolume GT 0,
                    set(hotspot[spotvideo62].muted, false);
                  ,
                    set(hotspot[spotvideo62].muted, true);
                  );
                );
              );
            );
          );
        );
      );
    );
  </action>
  <events name="pano27videospotsevents"
    onxmlcomplete="set(hotspot[spotvideo53].canstart, false);set(hotspot[spotvideo62].canstart, false);"
    onloadcomplete="if(panovideospotsstate,set(hotspot[spotvideo53].canstart, true);set(hotspot[spotvideo62].canstart, true););"
    playtoursoundsevent="if(hotspot[spotvideo53].pauseothersounds,if(hotspot[spotvideo53].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););if(hotspot[spotvideo62].pauseothersounds,if(hotspot[spotvideo62].stateVideo == 'playing',pauseTourSoundsActions(false,true,true,true,true);););" />


  <action name="showpanospotsaction">
    resumeTourSoundsActions(true,false,false,false,true);
    if (tour_displayspots,
    showpanovideospots();
    );
  </action>
  <action name="hidepanospotsaction">
    pauseTourSoundsActions(true,false,false,false,true);
    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[spotvideo53].volume, get(volume));set(hotspot[spotvideo62].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo53].muted, false);set(hotspot[spotvideo62].muted, false);
          ,
            set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].muted, true);
          );
        );
      );
     ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo53].volume, 0); set(hotspot[spotvideo62].volume, 0); 
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds());
        ,
          set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].muted, true);
        );
      );
    );
  </action>
  <action name="stoppanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo53].volume, 0);set(hotspot[spotvideo62].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].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[spotvideo53].volume, get(volume));set(hotspot[spotvideo62].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo53].muted, false);set(hotspot[spotvideo62].muted, false);
          ,
            set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].muted, true);
          );
        );
      );
    );
  </action>
  <action name="pausepanolocalsounds">
    if(device.flash OR (device.webgl AND !device.ios),
      set(hotspot[spotvideo53].volume, 0);set(hotspot[spotvideo62].volume, 0);
    ,
      ifnot(device.ios,
        js(kpanotour.Sounds.stopVideosSounds());
      ,
        set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].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[spotvideo53].volume, get(volume));set(hotspot[spotvideo62].volume, get(volume));
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.startVideosSounds(get(volume)));
        ,
          if (tour_soundsvolume GT 0,
            set(hotspot[spotvideo53].muted, false);set(hotspot[spotvideo62].muted, false);
          ,
            set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].muted, true);
          );
        );
      );
    ,
      if(device.flash OR (device.webgl AND !device.ios),
        set(hotspot[spotvideo53].volume, 0);set(hotspot[spotvideo62].volume, 0);
      ,
        ifnot(device.ios,
          js(kpanotour.Sounds.stopVideosSounds(get(volume)));
        ,
          set(hotspot[spotvideo53].muted, true);set(hotspot[spotvideo62].muted, true);
        );
      );
    );
  </action>
  <events name="pano27soundsevents" onnewpano="if(plugin[soundinterface],if(plugin[soundinterface].started,playpanolocalsounds();););" />


</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>

