Playing MP3's

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Bigun
Forum Contributor
Posts: 237
Joined: Tue Jun 13, 2006 10:50 am

Playing MP3's

Post by Bigun »

Ok, I'm at the portion of the code where I will need to play an MP3.

I figure this part of the code will take the longest.

But I am hoping and praying there are some built in PHP functions to handle MP3's.

But... there probably isn't.

So does anyone have any suggestions for a player/streamer that can stream server-side music files?

I don't need it to do anything else.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There's nothing that PHP can do for you here really. Playing an MP3 file would be a client-side operation. Flash or Java or some other stream aware set up may be able to do it, but not PHP.
Bigun
Forum Contributor
Posts: 237
Joined: Tue Jun 13, 2006 10:50 am

Post by Bigun »

If anyone wants minimal MP3 playing ability, I really recommend this link:

http://www.javazoom.net/applets/tinypla ... layer.html
Post Reply