vision-daguer
07-13-2008, 06:14 PM
Hi everybody
I m new user of fpp and i m not an expert programmer .
i use embedpano.
my probleme that i have to see a video when i click on hotspot all it's ok but when i back to the first pano the sound of the video still play.
My code
<parameters>
layer_1 = files/hotspots.swf
layer_10 = files/glassMeter.swf
layer_3 = files/limits.swf
layer_12 = files/tooltips.swf
layer_5 = files/cylConverter.swf
layer_8 = files/menuFullscreen.swf
panoType=cylinder
panoName=images/musee2
loaderStreamed = 1
loaderBandwidth = 100
loaderText= Musйe National
</parameters>
<cylconverter>
autoLimits=1
strictBorders=0
hfov = 360
vfov = 60
</cylconverter>
<hotspots>
<global
videoOn="
video.soundVolume=0.3;
video.linked=images/musee;
video.visible=1;
video.scale=1;
videoOn.visible=0;
videoOff.visible=1;
"
videoOff="
video.visible=0;
video.linked=images/musee2;
videoOn.visible=1;
videoOff.visible=0;
video.soundVolume=0;
<spot id="video" url="m5.swf" buttonMode="0" scale="0.2" linked="images/musee;images2" pan="-10" />
<spot id="videoOn" url="images/black_p.png" scale="1" visible="1" linked="images/musee" pan="-10" alt="Discours " altAlpha="0.5" align="LT" salign="LT" onclick="videoOn()" />
<spot id="videoOff" url="images/closevideo.png" scale="1" visible="0" linked="images/musee" static="1" staticX="637" staticY="194" align="LT" salign="LT" onclick="videoOff()" />
thanks a lot to help me
I m new user of fpp and i m not an expert programmer .
i use embedpano.
my probleme that i have to see a video when i click on hotspot all it's ok but when i back to the first pano the sound of the video still play.
My code
<parameters>
layer_1 = files/hotspots.swf
layer_10 = files/glassMeter.swf
layer_3 = files/limits.swf
layer_12 = files/tooltips.swf
layer_5 = files/cylConverter.swf
layer_8 = files/menuFullscreen.swf
panoType=cylinder
panoName=images/musee2
loaderStreamed = 1
loaderBandwidth = 100
loaderText= Musйe National
</parameters>
<cylconverter>
autoLimits=1
strictBorders=0
hfov = 360
vfov = 60
</cylconverter>
<hotspots>
<global
videoOn="
video.soundVolume=0.3;
video.linked=images/musee;
video.visible=1;
video.scale=1;
videoOn.visible=0;
videoOff.visible=1;
"
videoOff="
video.visible=0;
video.linked=images/musee2;
videoOn.visible=1;
videoOff.visible=0;
video.soundVolume=0;
<spot id="video" url="m5.swf" buttonMode="0" scale="0.2" linked="images/musee;images2" pan="-10" />
<spot id="videoOn" url="images/black_p.png" scale="1" visible="1" linked="images/musee" pan="-10" alt="Discours " altAlpha="0.5" align="LT" salign="LT" onclick="videoOn()" />
<spot id="videoOff" url="images/closevideo.png" scale="1" visible="0" linked="images/musee" static="1" staticX="637" staticY="194" align="LT" salign="LT" onclick="videoOff()" />
thanks a lot to help me