Page 1 of 1

Flash and Javascript Audio Player

Posted: Fri Apr 28, 2006 1:08 pm
by Christopher
I need to build a web audio player. The specs are pretty simple: just play/pause and select a track from a drop down menu. I believe that the combination of Flash for a fairly browser independent media player and to do the controls and track selector is the way most places are going right now. They also seem to use Javascript to feed the track lists and other info to the player SWF.

I have searched and found some media sites that do this so I understand the general implementation. So some questions:

- Is the configuration I described above the best way available to implement this?

- Do you have any recommendations for passing data in and out of Flash? FlashVars? Javascript proxy scripts?

- Do you know of an open source projects already doing this, so I don't have to do work that has already been done?

Posted: Sat Apr 29, 2006 11:17 pm
by Christopher
No Flash Gurus out there with brilliant ideas? Wrong forum? (or is it me?)

Posted: Sat Apr 29, 2006 11:54 pm
by Burrito
it sounds logical enough to me.

you could use FlashVars to pass data to the flash movie from JS or even straight HTML.

my question is though:

do you plan to have the media come from the server? Or is the goal to create a player that will play files on the user's local machine?

Posted: Sun Apr 30, 2006 4:15 am
by Benjamin
I think this would require the Flash Media Server. It's $4995.00. Available from Macromedia of course.

Posted: Mon May 01, 2006 11:39 am
by n00b Saibot
it is not necessary to have Flash Media Server. you can put media (which consists only of .mp3 for audio and .flv for video) on the web server. and as for your question my way was to put access/track etc info on php side and use flash for just playback...

Tell me if any kinda help is needed in the process...

Posted: Mon May 01, 2006 2:30 pm
by savant
http://musicplayer.sourceforge.net/

uses xml to keep track of playlist

Posted: Mon May 01, 2006 3:34 pm
by Christopher
savant wrote:http://musicplayer.sourceforge.net/

uses xml to keep track of playlist
That is exactly what I was looking for. Thank you very, very much. :)