I am doing something wrong. The videoplayer doesn't show, even if I set it enabled by default. I also checked my video file. It plays fine within the testarea but fails in my panorama. Same with the example file. Copied to my pano it doesn't work.
The panorama I have is not an entirly 360 degree panorama. It's about 130x60 degrees ( just some images stiched ). Are they handled different so that this might be the reason why this does not work?
Attached the XML File with my first panorama ( it's a tour about two ). To start it I use the swf file.
<krpano version="1.0.8">
<events onloadcomplete=""/>
<view fisheye="0" limitview="range" hlookatmin="-76.885" hlookatmax="76.885" vlookatmin="-8.81" vlookatmax="19.67" fovmin="5" fovmax="170" fov="28.479" hlookat="0" vlookat="5.43"/>
<autorotate horizon="5.43" tofov="28.47"/>
<action name="looktohome">lookto(0,5.43,28.48);</action>
<preview url="UsedomTourdata/UsedomTour0/preview.jpg"/>
<image type="SPHERE" hfov="153.77" vfov="28.48" voffset="5.43">
<sphere url="UsedomTourdata/UsedomTour0/0.jpg"/>
</image>
<lensflare name="LENS" set="DEFAULT" visible="true" ath="294.61" atv="-2.46303"/>
<hotspot name="spot0" onclick="set(state,autoratate.enabled);set(autoratate.enabled,false);lookto(72.2705,1.00129,10,smooth(400,20,100));loadpano(UsedomTour1.xml,null,null,BLEND(1));set(autoratate.enabled,state);" url="UsedomTourdata/spots/hotspot_ani.swf" onhover="showtext(Zu den Sieben Seen);" ath="432.271" atv="1.00129"/>
<hotspot name="spot1" onclick="set(plugin[html1].visible,true);tween(plugin[html1].alpha, 1);" bordercolor="0xffffffff" borderalpha="1" fillcolor="0xffffffff" fillalpha="0.25" bordercolorhover="0xffffffff" borderalphahover="1" fillcolorhover="0xffffffff" fillalphahover="0.25">
<point ath="291.983" atv="1.11838"/>
<point ath="291.983" atv="1.63111"/>
<point ath="292.973" atv="1.63111"/>
<point ath="292.973" atv="1.16499"/>
</hotspot>
<data name="htmldata1">
<p align="right">
<font face="Arial">
<a href="event:tween(alpha, 0);delayedcall(0.5,set(visible,false));">
<b>X</b>
</a>
</font>
</p>
<include url="bruecke.html"/>
</data>
<plugin name="html1" url="UsedomTourdata/graphics/textfield.swf" html="data:htmldata1" visible="false" alpha="0" align="center" width="380" height="400" bordercolor="0xFFFFFF"/>
<hotspot name="spot2" onclick="openurl(Tor1.html);" bordercolorhover="0xffffffff" borderalphahover="1" fillcolorhover="0xffffffff" fillalphahover="0.25" onhover="showtext(3D Ansicht Ansbacher Tor);">
<point ath="322.067" atv="14.33"/>
<point ath="322.184" atv="6.56273"/>
<point ath="320.334" atv="3.09519"/>
<point ath="319.411" atv="3.10103"/>
<point ath="316.893" atv="6.40091"/>
<point ath="316.917" atv="14.1451"/>
</hotspot>
<!-- text styles for startup text and onhover text -->
<textstyle name="infostyle"
origin="center" edge="center" textalign="center" yoffset="-150" background="false" border="false"
fontsize="40" textcolor="0xFFFFFF" bold="false" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);"
showtime="4.0" fadetime="1.0"
/>
<textstyle name="hoverstyle"
background="false" border="false" textalign="center"
fontsize="20" textcolor="0xFFFFFF" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);"
fadetime="0.2"
/>
<!-- events - show a infotext on start -->
<events onxmlcomplete="showtext([b][i]krpano[br]Video Beispiel[/i][/b], infostyle);"
/>
<!-- use only a grid preview pano to save download space ;-) -->
<!--<preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" />
<!-- note - the url of the video must be always relative to the main krpano swf file -->
<hotspot name="videospot"
url="plugins/videoplayer.swf"
videourl="cats-short.flv"
distorted="false"
ath="000"
atv="0"
edge="center"
scale="1.0"
rx="0"
ry="0"
rz="0"
loop="true"
pausedonstart="true"
directionalsound="true"
range="110"
volume="0.7"
onhover="if(ispaused, showtext(click to play), showtext(click to pause));"
onclick="togglepause();"
/>
</krpano>
Alles anzeigen