Jump to content

Recommended Posts

Hi there I am a university student in my final year and in my major project I am looking to allow users to upload music to a site and for the music that is uploaded to be attached to a flash audio player so that it can be listened to on the webpage.

 

I was wondering if anyone can help me, by telling me what is needed to allow this to happen. Also if anyone knows any helpful sites which could help me in this process that would be amazing.

 

It would be very much appreciated if anyone could help.

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/84506-php-and-audio-player-can-anyone-help/
Share on other sites

This is how I would implement it (Do you know any actionscript and/or how to use Flash?)

 

After I upload the file (using PHP), i'd save the file info/directory into an XML file (create the xml file using PHP)

 

This XML file can then be loaded by a Flash movie coded to read through the XML file - the song info and directory should be in this XML file.

This flash movie can contain all your controls to play/stop/adjust volume/make playlist etc etc etc....

 

This method is dependent on you knowing Flash and some ActionScript, of course, so it may not work for you.

 

I made a flash mp3 player (not complete, but does most of the job) - send me a PM if you want to see the code for it. It reads through an XML file to find the mp3 info and then plays/stops/pauses/adjusts volume. It is coded in AS3.0 using a class structure (.as files)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.