PDA

View Full Version : Video - how to?


BillWard
10-27-2007, 01:20 AM
Hi

I'm a new user, interested in placing video in a panorama.

I would like to place a video in a panorama, pinned to the image , as on a TV screen in some of the examples. I can't figure it out, though, and would like some help please.

I've been trying, using an xml file, assuming that I need to place a hotspot that triggers the flvplayer.swf to load the video, but with no luck at all.

I just need to get tuned in to FPP's method of working. Any help much appreciated.

Bill

viktor-y
10-27-2007, 12:31 PM
This code worked for me:


<box id="video" linked="images/nature" url="files/flvplayer.swf?file=../images/rainbow.flv"
pan="140.00" tilt="11.89" distance="1.61" orientation="right" depth="2"
scale="1.27" saturation="0.2" brightness="0.15" contrast="0.31"
refreshRate="20" segmentsX="6" segmentsY="4" soundVolume="1" enableSoundPanning="1" soundRadius="190" />


but here (http://flashpanoramas.com/forum/showthread.php?t=216) you can find more info

BillWard
10-27-2007, 04:59 PM
Hi, thanks

I've figured out the following, where the ?????? means I'm stuck (in two places).

I've positioned a hotspot image which when clicked I want to play a video, but I cant get it to work. The hotspot image is in position fine, but the best I can manage is the video playing immediately when the panorama loads:



<spot url="images/play1.png" pan="-38.00" tilt="-15.00" onClick="??????" />

<box id="vid" linked="images/edfest2007_music2" url="files/flvplayer.swf?file=../video/music.flv" onLoad="??????" pan="-40.00" tilt="0.00" distance="0.5" rotationX="10.00" depth="30" refreshRate="60" segmentsX="2" segmentsY="2" soundRadius="240" />

Any ideas, please?

Bill

testure
10-29-2007, 09:01 AM
When I this the video is narrow and the offset is wrong..
http://testure.eu/examples/flashplayer/forum.htm

If I use this code:

<box id="vid"
url="images/click_to_play.png"
pan="115.00"
tilt="-17.66"
distance="1.03"
rotationX="23.00"
rotationY="-1.00"
rotationZ="-1.00"
depth="-12"
scale="0.58"
alpha="0.84"
refreshRate="20"
enableSoundPanning="1"
soundRadius="150"
onClick="vid.url=files/flvplayer.swf?file=../images/ftb_sneak_320.flv"
/>

BillWard
11-02-2007, 05:23 PM
I figured out what I want to do
http://www.billward.org/pages_edfest2007/edfest2007.html

I used the following to place the video - a box object to contain the video and a spot object to toggle its visibility. The flvplayer.swf has been modified to not have the autoplay feature, and so the video has to be clicked to start/pause it.

<box id="vid" onLoad="visible=0" linked="images/edfest2007_music" url="files/flvplayer1.swf?file=../video/music31.flv" pan="-30.00" tilt="0.00" distance="0.8" rotationX="10.00" depth="30" refreshRate="60" segmentsX="6" segmentsY="4" soundRadius="240" />


<spot url="images/play3.png" pan="-38.00" tilt="-35.00" onClick="vid.visible+=1" />

This is ok. I would like to have a video player (flvplayer.swf) with a progess bar and play/pause button at the bottom of the video window. Is there a modified flvplayer.swf already available that has this? Or can some one point me to some Flash tutorials (!).

Bill