RE: single
[email protected] Wed, 13 Nov 2002 23:48:03 -0800
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Message-ID | <[email protected]> |
if you set the header type correctly, the default mp3 player (in windows)
will load...
eg this is how you could send a single mp3...
the user downloads foo.php which contains the following php code:
#begin code snip
<?php
header("Content-Type: audio/mpegurl;");
?>
#EXTM3U
#EXTINF: O Fortuna
http://tunes.zinkwazi.com:8000/?op=play&song=5f9a6ab7f7fdeaf880917e2c7503022
f
#end code snip
(assuming you are using php, if not set the header in your language of
choice)
greg
___________________________________
Greg Lawler
Director of Information Technology
Brooks Institute of Photography
805-690-7615
http://info.brooks.edu
____________________________________
-----Original Message-----
From: Brendan [mailto:[email protected]]
Sent: Wednesday, November 13, 2002 11:26 PM
To: [email protected]
Subject: [Mod_mp3] single
Hi people
Just tried out mod_mp3 and its looking great, everything is working fine but
now I want to
try and stream just single MP3's so I can embed direct weblinks for them
into webpages
/ articles etc..
I tried
http://myserver.com:8000/?op=play&song=c4f8a9dde461b03e6bea0bc6c5b70e4a
But in IE6.02 it just starts a download, I allowed it to download 15Mg
before stopping it?
The largest file in the directory is only 6MG.
Can anyone suggest what I'm doing wrong?
Thanks
Brendan
_______________________________________________
Mod_mp3 mailing list
[email protected] http://lists.tangent.org/mailman/listinfo/mod_mp3