dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Dynamic Flash Video Player

  1. #1
    Dumbass grBMXer's Avatar
    Join Date
    May 2002
    Location
    Grand Rapids, MI, USA
    Posts
    212

    Dynamic Flash Video Player

    Hi I'm currently working on a dvd trailer/mini site for a client. I am now working on the video clips selection and he informs me he would like something like at http://robbiemiranda.com/ where all he has to do is upload a video in .swf format and it automatically updates the drop down menu and when selected starts to load and play the clip.

    I talked to Robbie about the player on his site and he said someone had done it for him and that all he knows about it is that he just uploads a .swf and it updates so he wasn't much help as getting me in the right direction.

    I was wondering if someone could point me towards some possible tutorials, .fla's, articles, etc. I would greatly appreciate the help as I would like to get this done for the client as soon as I can. Thanks in advance!
    [+] Website. http://www.evanbartlett.com/
    [+] Email. evan@evanbartlett.com
    [+] AIM. emDUB123456789
    [+] Yahoo! evanem1

  2. #2
    Dumbass grBMXer's Avatar
    Join Date
    May 2002
    Location
    Grand Rapids, MI, USA
    Posts
    212
    I got more into it and I noticed that alot of players like I'm looking into are running off of a Coldfusion file like this...

    PHP Code:
    <!--- get the absolute path to the video directory --->
    <
    cfset videoPath expandPath("*.*")>
    <
    cfset videoDir GetDirectoryFromPath(videoPath)>

    <!--- 
    grab all the videos swf's and stick em into a query object --->
    <cfdirectory directory="#videoDir#" action="list" name="videos" filter="*.swf" sort="datelastmodified desc">

    <!--- set the number of videos to return --->
    <cfset flashVars = "n=" & videos.recordCount>

    <!--- loop over the videos query object and build the name / value pairs --->
    <cfloop index="i" from="1" to="#videos.recordCount#" step="1">
    <cfset flashVars = flashVars & "&video" & i & "=" & videos.name[i]>
    </cfloop>

    <!--- return the variable to flash --->
    <cfoutput>#flashVars#</cfoutput> 
    Any of you have any idea of how to run that into flash, like bring it into my combobox, etc. And how about the controls. How do I get them to stream the larger files while playing and all that?
    Last edited by grBMXer; 09-25-2003 at 03:23 PM.
    [+] Website. http://www.evanbartlett.com/
    [+] Email. evan@evanbartlett.com
    [+] AIM. emDUB123456789
    [+] Yahoo! evanem1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center