Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / February 2008



Tip: Looking for answers? Try searching our database.

video player, multiple FLVs and PHP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bloke - 07 Feb 2008 01:15 GMT
have a client that wants a video archive. Example
http://buccaneers.com/multimedia/videoarchive.aspx  Looks like the list is
pulled from a database. Then the script generates a list and serves it to the
player. When you hover over the links they are sending name of the file. Does
anyone have an idea how to do this? I have done a video player with a selection
box but it was all handcoded and not hooked up to a database. I will be using
PHP.  Also he may want it like the media player on the home page. Does that
look like its hardcoded in the fla or is it dynamic too?
Bloke - 09 Feb 2008 03:40 GMT
I tried the http://www.jeroenwijering.com/?item=JW_FLV_Media_Player but it is
one unit. The list and the player. I want a PHP that serves up a list. Then you
click on a link and the player loads that file.
Here is another example. http://www.hillaryclinton.com/video/
dzedward - 09 Feb 2008 05:15 GMT
Using the FLVPlaybacks' source property (AS3) or contentPath property (AS2),
you can load different flvs as links are clicked.  The buccaneers site is using
a URL variable to pass in the file location to the SWF via FlashVars, which is
then being used as the 'source' or 'contentPath'.
Bloke - 09 Feb 2008 13:57 GMT
Thanks for the reply. Do you have example code to do this? How do I send the variable?
dzedward - 09 Feb 2008 15:24 GMT
http://www.youvideosite.com/?video=myVideo

using AS2, access that like so:

myflvplayer.contentPath = _root.myVideo+".flv";

using AS3, access that like so:

myflvplayer.source = root.loaderInfo.myVideo+".flv";
Bloke - 10 Feb 2008 05:01 GMT
Thanks. Now would I put  myflvplayer.contentPath =
_root.myVideo+".flv";[i]myflvplayer.contentPath = _root.myVideo+".flv";[/i] in
the ContentPath in the parameters inside Flash on the FLV component? Or put it
on an actions layer?
Bloke - 16 Feb 2008 14:41 GMT
Anyone have any more ideas? I have tried using myFlvPlayer.contentPath =
_root.myvideo+".flv"; plus some javascript to transfer the file name in the
URL. But still not working.  I really am trying to get this working for a
client this week. Thanks in advance for anything you can do.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.