Sie sind nicht angemeldet.

1

Freitag, 19. März 2010, 03:29

Video als Hotspot einbinden

Hallo allerseites,

bin gerade dabei mich in krpano einzuarbeiten und habe ein kleines Problem was die Videoeinbindung anbetrifft.

$this->cacheCode('[php]','
<hotspot name="videospot"
url="%SWFPATH%/../plugins/videoplayer.swf"
videourl="%SWFPATH%/cats-short.flv"
distorted="true"
ath="300"
atv="0"
edge="center"
scale="1.0"
rx="0"
ry="0"
rz="0"
height="10"
width="10"
loop="true"
pausedonstart="true"
directionalsound="true"
range="110"
volume="0.7"
onhover="if(ispaused, showtext(click to play, videohoverstyle), showtext(click to pause, videohoverstyle));"
onclick="togglepause();"
/>
')

Wie kann ich die genaue Position des Videos und auch die Größe bestimmen? Ich möchte das Video direkt über einen Flatscreen in einem Panoramafilm legen.

Die Angaben von einem "normalen" Hotspot schein krpano wohl zu ignorieren!?

$this->cacheCode('[php]','
<point ath=" 33.7225" atv="-11.1425" />
<point ath=" 41.8510" atv="-11.0163" />
<point ath=" 41.6946" atv=" 11.6480" />
<point ath=" 33.5275" atv=" 11.8424" />
<point ath=" 31.9358" atv=" -0.7755" />
')

Kann ich auch die Grösse des Videos in der XML-Datei angeben (height und width scheint nicht zu funktionieren)?

Bin für jeden Tipp dankbar.

Viele Grüße

Karl

2

Freitag, 19. März 2010, 08:10

also bei mir sieht das z.B. so aus:

<hotspot name="videospot"
url="xml/xml/xml/%SWFPATH%/videoplayer.swf"
keep="false"
ath="14.552503342432246" atv="-11.193443494318258"
zoom="false" distorted="true"
width="320" height="200"
scale="0.7164992201617626" scale9grid="1" scalechildren="false" rotate="2"
rx="-6.349999999999966" ry="22.700000000000017" rz="-3.7778824229182817"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover="if(ispaused, showtext(click to play), showtext(click to pause));"
onout=""
ondown=""
onup=""
onclick="togglepause();"
buffertime="0.1"
directionalsound="true"
flying="0"
loop="true"
onvideocomplete=""
pausedonstart="false"
range="110"
updateeveryframe="true"
videourl="xml/xml/xml/%SWFPATH%/cafe.flv"
volume="0.7"
/>

3

Freitag, 19. März 2010, 08:54

scale="1.0" rx="0" ry="0" rz="0" height="10" width="10"


Da steht doch alles
Gruß
Clemens