Sie sind nicht angemeldet.

1

Dienstag, 25. September 2012, 12:56

Song in Tour abspielen.

Moin,

habe das problem, das ich zwar je "Scene" einen Sound abspielen kann, aber ich würde gern einen für alle haben wollen. Dachte mir das ich das Scrpit einfach an den Anfang setz, aber da tu sich nix. hat wer nen Tip?




<krpano version="1.0.8.15" title="Die Tour" onstart="startup();">

<include url="skin/vtourskin.xml" />



<!-- set skin settings: bingmaps? gyro? -->
<skin_settings bingmaps="false" bingmaps_key=""
gyro="true"
/>

<!-- set optional skin logo url -->
<layer name="skin_logo" url="" scale="0.25" opened_onclick="openurl('...',_blank);" />


<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
</action>


<!-- load the soundinterface plugin --><plugin name="soundinterface" url="plugins/soundinterface.swf" alturl="plugins/soundinterface.js" rootpath="" preload="true" keep="true"/><!-- start playing the sound --><events name="currentpano" onnewpano="playsound(bgsnd, 'sound/syvyys.mp3|sound/syvyys.ogg', 0);" onremovepano="stopsound(bgsnd);"/><!-- place your scene hotspots here -->

<scene name="scene_eingang" title="Eingang" onstart="" thumburl="panos/eingang.tiles/thumb.jpg" lat="" lng="" heading="">

<view hlookat="-123.093" vlookat="9.355" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

<preview url="panos/eingang.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/eingang.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/eingang.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/eingang.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/eingang.tiles/mobile_%s.jpg" />
</mobile>
</image>

<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-99.074" atv="26.442" linkedscene="scene_flur" />

</scene>

<scene name="scene_flur" title="Flur" onstart="" thumburl="panos/flur.tiles/thumb.jpg" lat="" lng="" heading="">

<view hlookat="-104.741" vlookat="10.760" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

<preview url="panos/flur.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/flur.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/flur.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/flur.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/flur.tiles/mobile_%s.jpg" />
</mobile>
</image>

<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-37.270" atv="13.126" linkedscene="scene_eingang" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="-113.292" atv="21.510" linkedscene="scene_raum_links" />
<hotspot name="spot3" style="skin_hotspotstyle" ath="61.807" atv="22.542" linkedscene="scene_raum_lueftung" />

</scene>

<scene name="scene_raum_links" title="Raum rechts" onstart="" thumburl="panos/raum_links.tiles/thumb.jpg" lat="" lng="" heading="">

<view hlookat="-83.438" vlookat="22.206" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

<preview url="panos/raum_links.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/raum_links.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/raum_links.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/raum_links.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/raum_links.tiles/mobile_%s.jpg" />
</mobile>
</image>

<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="177.267" atv="26.013" linkedscene="scene_flur" />

</scene>

<scene name="scene_raum_lueftung" title="Lueftungsraum" onstart="" thumburl="panos/raum_lueftung.tiles/thumb.jpg" lat="" lng="" heading="">

<view hlookat="83.745" vlookat="4.690" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

<preview url="panos/raum_lueftung.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/raum_lueftung.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/raum_lueftung.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/raum_lueftung.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/raum_lueftung.tiles/mobile_%s.jpg" />
</mobile>
</image>

<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="-78.778" atv="17.373" linkedscene="scene_raum_rechts" />
<hotspot name="spot2" style="skin_hotspotstyle" ath="166.617" atv="12.942" linkedscene="scene_flur" />

</scene>

<scene name="scene_raum_rechts" title="Raum links" onstart="" thumburl="panos/raum_rechts.tiles/thumb.jpg" lat="" lng="" heading="">

<view hlookat="376.196" vlookat="3.019" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />

<preview url="panos/raum_rechts.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="3183" tiledimageheight="3183">
<cube url="panos/raum_rechts.tiles/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1536" tiledimageheight="1536">
<cube url="panos/raum_rechts.tiles/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="768" tiledimageheight="768">
<cube url="panos/raum_rechts.tiles/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/raum_rechts.tiles/mobile_%s.jpg" />
</mobile>
</image>

<!-- place your scene hotspots here -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="175.761" atv="17.039" linkedscene="scene_raum_lueftung" />

</scene>


</krpano>

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »xl-kopter« (25. September 2012, 13:04)