PDA

View Full Version : Streaming Music files in websites


jammula
06-30-2003, 02:54 PM
Hi All,

I have a website name www.jamula.com

I want to play some music files in my website

By allowing users to pick and play what music they wanted

LIke for example

Song1 Checkbox
Sog2 Checkbox
Song3 Check box

Playselected Playall Stop

1)When user press the Playall I want to play all the songs
By poping a Jukebox like winamp
2) When user select the Playselected .I want to play only selected songs which are checked by poping a jukebox like winamp

I Know,it is possible with PHP

I seen lot of websites using PHP to stream music files

Any help is really appreciated

Thanks
Kishore

scoutt
06-30-2003, 09:31 PM
using php? then show me. php is serverside so they can't open anything like winamp on the users machine. all tha thas to be client side. (javascript)

me_
07-01-2003, 12:55 AM
You can't do it in PHP.

The Live Streaming option...

The only thing there is that I know is a possibility when it comes to live streaming, although may cost a bit to set up, is RealMedia's RealOne Player. I do not know how it works or what is required.

The advantage of this is that the data isn't stored on the users computer, so they will find it harder to copy/store/redistribute.

Just an MP3/Wav...

The easiest and cheapest way would be to add an object to the source of your website, and have the music play that way. This allows media such as MP3's, wav's, and other format including QuickTime format to be played. Most users can play MP3's/wav's through a preinstalled program such as Windows Media Player in Internet Explorer.

Flashing it up...

Another alternative would be to include them in Macromedia Flash files and play them like that. You would need to get Macromedia Flash from somewhere, and most users these days have Macromedia Flash Player installed.

A word of warning...

I would not recommend including the music until the user has chosen the song....so you would need a list, and once a song is selected it open in a new window, or goes to a new page with the song in it. People would be annoyed if they went to your site and found out that you made them download a whole lot of music they didn't want, especially if they have a low bandwidth limit.