neongreen.com > tutorials > pseudo-streaming

How to Stream an MP3 File (pseudo-streaming)

This example and brief tutorial will teach you how to link to an MP3 file in such a way that will allow almost immediate play while the rest of the file is downloading. Often referred to as "pseudo-streaming", this is much preferred to directly linking an MP3 file, which forces the user to wait until the entire file is downloaded before it plays.

Example

Stream an MP3 (click here)

Instructions

In the above example I wanted to pseudo-stream an audio file called master.mp3.

I placed that MP3 file in this directory: http://old.neongreen.com/stream/.

I then created a new text file containing nothing but this text:
http://old.neongreen.com/stream/master.mp3

I saved the text file as master.m3u and placed it in the same directory as the MP3 file.

The hyperlink on your web page should point to the master.m3u file. In my case it is http://old.neongreen.com/stream/master.m3u.

Now, when it is clicked, the browser should open the default MP3 player and play the MP3 file specified in the M3U file.

Credits

The supa-funky music file was created using Reason 2.5.