Results 1 to 2 of 2

Thread: Flash Media Player - MP3

  1. #1

    Thread Starter
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Flash Media Player - MP3

    I have created a flash media player for mysite. We use mp3.

    Now, i know how to hardcode it to play something but how do i do it if the user uploads it?
    My usual boring signature: Something

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Flash Media Player - MP3

    I don't think this has anything at all to do with PHP, and more with you needing to make your flash file either read a PHP file that gave it the URL of an mp3 to play, or made your flash file read a GET request or something.

    or, if you can somehow use the flash file as a "template," if you will, and then open it during the file upload, and using PHP and edit some variable in your flash file that points to the MP3's permanent URL (and I have no clue if this is even remotely possible, but yeah), and then save the flash file as that person's username or whatever. this might be undesirable though because after a while you'd have tons of flash files, if you have a lot of site users.
    Like Archer? Check out some Sterling Archer quotes.

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