A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Dynamic video loading

  1. #1
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234

    Dynamic video loading

    Hi,

    I'm new to video and flash and I've been looking for a way to dynamic import video into flash.

    I've created flash websites before on which the webmaster only has to upload jpgs to the server. Flash connects to the server with php and so dynamically loads the jpgs. We've all seen that...

    But is there a way to make this happen with video? The webmaster uploads a bunch of quicktime .mov files to the server. Flash connects to the server with php and dynamically loads one of the .mov files?

    Is it even possible to dynamically load a quicktime movie or any video format into Flash at all?

    For instance: Flash connects with php, php goes and picks up the name of the newest .mov and returns it's name to the Flash movie. Flash on it's turn loads this movie based on the name and path given by the php script...

    It's pretty important for this project that the video doesn't have to be encoded first. I would like to dynamically load regular quicktime movies.

    Hope anyone can help me with this!!

    Cheers,
    Gekke_Hollander
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  2. #2
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    We use PHP to load movies all the time, just like .jpgs, but you have to use Squeeze or Flix to convert to .swf files first. You can't load .mov into Flash, they must be converted first.

  3. #3
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234

    Hi Wheels

    Thanx for the reply Wheels.

    Converting, that's what I thought... it kinda sucks
    Converting to swf or flv... well that kinda ruins the usabillity. Isn't there a way to do this server based? Like there was for jpg2swf back in the days you weren't able to load jpgs into Flash?

    Cheers,
    Gekke_Hollander
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  4. #4
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Wildform may have something like that.

    http://www.wildform.com

  5. #5
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    Thanx again for the reply Wheels!

    So I should convert my video to swf first. Why not FLV? OR can FLV files not be dynamically loaded? And do you know of any good tutorials on this matter?

    Thanx!
    Gekke_Hollander
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  6. #6
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    Anyone?

    'can FLV files not be dynamically loaded?'
    Cheers,
    Gekke_Hollander
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

  7. #7
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Sorry I didn't reply sooner, the board was acting funny the other day - couldn't get the reply button.

    Anyway, you can only stream .flv's in 2004, or in MX6 with a FlashComm server.

  8. #8
    Angkor-What? Gekke_Hollander's Avatar
    Join Date
    Jun 2000
    Location
    Netherlands
    Posts
    234
    Thanx for the reply!

    I found what I was looking for at theMM website

    One weird thing I found out with those FLV files though. Once I exported a file as flashkit.flv and then later on rename it to another name it won't play anymore. Is this a bug?

    Cheers,
    Gekke_Hollander
    MX 2004 Pro - Oops I did it again!!!
    SWF, it's a journey... not a destination

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