Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2007, 02:20 AM
BillWard BillWard is offline
Junior Member
 
Join Date: Oct 2007
Posts: 9
Downloads: 0
Uploads: 0
Default Video - how to?

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
Reply With Quote
  #2  
Old 10-27-2007, 01:31 PM
viktor-y viktor-y is offline
Junior Member
 
Join Date: Feb 2007
Posts: 25
Downloads: 0
Uploads: 0
Default video

This code worked for me:

Code:
<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 you can find more info

Last edited by viktor-y; 10-27-2007 at 02:03 PM.
Reply With Quote
  #3  
Old 10-27-2007, 05:59 PM
BillWard BillWard is offline
Junior Member
 
Join Date: Oct 2007
Posts: 9
Downloads: 0
Uploads: 0
Default

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
Reply With Quote
  #4  
Old 10-29-2007, 10:01 AM
testure testure is offline
Member
 
Join Date: Sep 2007
Posts: 35
Downloads: 0
Uploads: 0
Default

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"
/>
Reply With Quote
  #5  
Old 11-02-2007, 06:23 PM
BillWard BillWard is offline
Junior Member
 
Join Date: Oct 2007
Posts: 9
Downloads: 0
Uploads: 0
Default

I figured out what I want to do
http://www.billward.org/pages_edfest...dfest2007.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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:03 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.