In dieser tour.xml sind alle unnötigen Codezeilen gelöscht. Die selbstablaufende Panoramaschau besteht nur aus einer Folge von sich automatisch drehenden und mit Überblendungen ineinander übergehenden Panoramen.
Es gibt keinerlei Eingriffsmöglichkeiten, außer die Vollbildfunktion mit Rechtsklick.
So läuft das wie geplant:
$this->cacheCode('[php]','<krpano version="1.17" title="Panoramaschau" onstart="startup();">
<action name="startup">
set(step,2); set(idletime,0); set(events.onidle, autotour()

;
</action>
<action name="load_new_scene">
loadscene(%1, null, MERGE,
ZOOMBLEND(1,2));wait(0.1);wait(BLEND);
</action>
<action name="autotour">
if(step == 1, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 2, load_new_scene(scene_1); inc(step)

;
if(step == 3, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 4, load_new_scene(scene_2); inc(step)

;
if(step == 5, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 6, load_new_scene(scene_3); inc(step)

;
if(step == 7, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 8, load_new_scene(scene_4); inc(step)

;
if(step == 9, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 10, load_new_scene(scene_5); inc(step)

;
if(step == 11, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 12, load_new_scene(scene_6); inc(step)

;
if(step == 13, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 14, load_new_scene(scene_7); inc(step)

;
if(step == 15, lookto(360, get(view.vlookat),get(view.fov), smooth(200,200,15), false); inc(step)

;
if(step == 16, inc(step)

; startup();"
</action>
<scene name="scene_1" title="1" onstart="" thumburl="panos/1.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="90" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/1.tiles/preview.jpg" />
<image>
<cube url="panos/1.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/1.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_2" title="2" onstart="" thumburl="panos/2.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="-149.024" vlookat="6.907" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/2.tiles/preview.jpg" />
<image>
<cube url="panos/2.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/2.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_3" title="3" onstart="" thumburl="panos/3.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="4.355" vlookat="12.339" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/3.tiles/preview.jpg" />
<image>
<cube url="panos/3.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/3.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_4" title="4" onstart="" thumburl="panos/4.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="39.695" vlookat="3.643" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/4.tiles/preview.jpg" />
<image>
<cube url="panos/4.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/4.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_5" title="5" onstart="" thumburl="panos/5.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="16.108" vlookat="7.466" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/5.tiles/preview.jpg" />
<image>
<cube url="panos/5.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/5.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_6" title="6" onstart="" thumburl="panos/6.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="139.742" vlookat="3.116" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/6.tiles/preview.jpg" />
<image>
<cube url="panos/6.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/6.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
<scene name="scene_7" title="7" onstart="" thumburl="panos/7.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="-63.025" vlookat="4.843" fovtype="MFOV" fov="90.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/7.tiles/preview.jpg" />
<image>
<cube url="panos/7.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/7.tiles/mobile_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
</scene>
</krpano>
')
Grüße
Harald