View Full Version : flvplayer and projection
xt-ric
07-17-2007, 12:40 PM
Hi everybody and Denis,
I'm french and don't write english very fluently.
I've created a projection with Flash CS3 of the embedPano.fla and everything works fine.
I've tried to play a video with the flvplayer plugin.
It works fine in HTML page but do not work when I create the projection. Maybe a problem of url ?
Thanks
jaaaab
07-18-2007, 12:38 PM
Hi xt-ric,
you should share your code so we can have a look on what's wrong ;)
++
xt-ric
07-19-2007, 08:09 AM
Here is the code of the xml file
=======================
<?xml version="1.0" encoding="iso-8859-1" ?>
<panorama>
<parameters>
behaviour = 2
sensitivity = 200
keySensitivity = 50
friction = 0.85
threshold = 0.000001
zoomMax=2
zoomMin=0.8
zoomHome=1
disableKeys=0
qualityStatic = best
qualityMotion = medium
segments=25
layer_3 = borders.swf
layer_5 = hotspots.swf
layer_6 = autorotator.swf
</parameters>
<borders>
pan_min = 0
pan_max = 360
tilt_min = -90
tilt_max = 90
</borders>
<autorotator>
speed = -0.06
interval = 8
pause = 5000
quality = medium
</autorotator>
<hotspots>
<global onTransitionStart="pano.qualityStatic = low; pano.qualityMotion = low;" onTransitionEnd="pano.qualityStatic = best; pano.qualityMotion = medium;" Limite1="external.borders.pan_min=-55; external.borders.pan_max=65; external.borders.tilt_min=-30; external.borders.tilt_max=30;" NoLimite="external.borders.pan_min=0; external.borders.pan_max=360; external.borders.tilt_min=-90; external.borders.tilt_max=90;">
<pano leash="free" />
<box id="vid" url="flvplayer.swf?file=pano.flv" linked="images/salon_1"pan="-2.00" tilt="-15.06" distance="1.73" orientation="sphere" rotationX="-9.00" rotationY="9.00" depth="-1759" scaleX="1.01" scaleY="0.68" refreshRate="20" segmentsX="6" segmentsY="4" enableSoundPanning="1" soundRadius="190" buttonMode="0" />
</global>
</hotspots>
</panorama>
Works fine if i plays the project in a html page, but don't work when i create a projection
Denis
07-28-2007, 02:07 PM
Flash projectors are very capricious about paths if you have external files, check full path to your flv: no spaces, no special non-latin letters, short dir names. Also try to use "debug projector" to see the bug report with wrong path.
sonicoliver
07-30-2007, 05:51 AM
the problem is that when you open it in a projector, the flvplayer does not recieve the "file" variable for the flv file.
stand alone flash player (or projectors) cannot make URL calls like a browser does.
if you want to play it, just add the video to your swf file as a streaming source and call the swf without the URL variable
url="flvplayer.swf"
instead of
url="flvplayer.swf?file=pano.flv"
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.