Flash and Javascript Audio Player

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Flash and Javascript Audio Player

Post 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?
(#10850)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

No Flash Gurus out there with brilliant ideas? Wrong forum? (or is it me?)
(#10850)
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post 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?
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I think this would require the Flash Media Server. It's $4995.00. Available from Macromedia of course.
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post 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...
savant
Forum Newbie
Posts: 10
Joined: Mon May 01, 2006 7:56 am

Post by savant »

http://musicplayer.sourceforge.net/

uses xml to keep track of playlist
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post 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. :)
(#10850)
Post Reply