Re: single

Frank S <[email protected]> Thu, 14 Nov 2002 06:38:58 -0800 (PST)
Newsgroups gmane.comp.apache.mod-mp3
Message-ID <[email protected]>
One thing I have noticed, is that it really does not work with windows media player, even though there is a m3u assosiation in media player.  For some reason it just horked it up.  would be kinda nice if the stream worked in media player. 
 Jon disnard <[email protected]> wrote:I typically tell people to just go install WinAMP, or whatever, and 
allow that application to set itself as the handler for certain 
file-types. WinAMP, or whatever, will now be responsible for stuff like 
audio/mpeg mime types. Right now it appears Internet explorer doesn't 
know what to do with the mime type it has been given, so it does its' 
default; downloads binary data to a saved file. In the end the problem 
is with your browser, and how your browser knows what to do with certain 
mime-types. Both IE, and mozilla have ways to associate mime-types to 
3rd party applications. For IE you have to find the place in windows 
that you adjust your global file-type/mime-type stuff, or just install 
WinAMP. In Netscape, or Mozilla you simply go to edit->preferences menu 
to make the change.

-Jon

Brendan wrote:

>Oh, so there is no other way that it can be done? I have to make a new 
>php file for every mp3 file? I was hoping for a more simplier way as I 
>intend to have a huge static collection of teaching material.
>
>Does mod_mp3 support any bitrate streams? I put a mixture in and set 
>it to random, it did 128k & 320k fine although stuttered when played in 
>Windows Media Player 7.01 but wouldn't play the lower 16k file?
>
>
>
> 
>
>>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
>>>>header("Content-Type: audio/mpegurl;");
>>?>
>>#EXTM3U
>>#EXTINF: O Fortuna
>>
>> 
>>
>http://tunes.zinkwazi.com:8000/?op=play&song=5f9a6ab7f7fdeaf88091
>7e2c7
> 
>
>>503022 f #end code snip
>>
>>(assuming you are using php, if not set the header in your language of
>>choice) greg
>> 
>>
>
>
>_______________________________________________
>Mod_mp3 mailing list
>[email protected]
>http://lists.tangent.org/mailman/listinfo/mod_mp3
> 
>

_______________________________________________
Mod_mp3 mailing list
[email protected]
http://lists.tangent.org/mailman/listinfo/mod_mp3


---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site