Web Hosting Talk







View Full Version : Most universal way to stream MP3?


RandyL712
08-07-2002, 04:04 PM
I'm designing a site for a company that needs to offer visitors the opportunity to listen to about 300 little sound bytes (each about 30 seconds of low-quality music on MP3).

We've ruled out .asf and .ra because that would require a download. .mp3 seems the most universal, and to boot the files are quite small.

What's the best code to use on the page to allow the files to be streamed with a click?

Qgyen
08-07-2002, 04:33 PM
MP3s would probably still require just the same as an asf. The MP3 would have to be opened in a player of sorts.

Actually, ASFs can be embedded into pages. Don't know of any way to embed MP3s.

You could convert them to Flash, since Flash is in nearly every browser and good at streaming.

RandyL712
08-07-2002, 04:45 PM
I guess what I'm asking for is the most universal HTML code.

jahsh
08-07-2002, 07:44 PM
i would go with http streaming. here is some info on it:
http://www.realnetworks.com/resources/contentdelivery/documentation/httpstream.html?UK=X

driverdave
08-08-2002, 12:18 AM
I guess what I'm asking for is the most universal HTML code.


<a href="mymp3.mp3">check out my mp3</a>

As for it being the most universal code, there may be code more universal than it.

apollo
08-08-2002, 10:28 AM
check out free shoutcast mp3 streaming server

http://www.shoutcast.com/download/serve.phtml

RandyL712
08-09-2002, 05:42 PM
Hmm... I'm positive I saw code (similar to the code used to embed audio files) for MP3 that basically streamed em when clicked on.

apollo
08-10-2002, 02:48 AM
it's over HTTP!

RandyL712
08-10-2002, 02:38 PM
and...

apollo
08-12-2002, 03:33 AM
you lose all the features of real streaming... bandwidth saving etc..

PixyMisa
08-12-2002, 08:30 AM
I second the suggestion of Shoutcast. It's a tiny download, easy to set up, and it works.

Oh, and it's free :D