MP3 Streaming on my web site

Anything about MUSIC but doesn't fit into the forums above.
RELATED
PRODUCTS

Post

Ocean Zen wrote:Cheers Glooper.

I'm not so bothered about the fading thing.

I read an example of writing an m3u thingy,
but when I clicked on their example, it first downloaded the m3u file to my desktop and then opened up in iTunes.

I prefer the style that most people have in the Music Cafe, where you just click on the link and it plays in the browser window. Is that much different to implement?
That is in fact a problem with the webserver reporting the wrong mime type for the m3u file. This needs to be fixed by changing you webserver configuration to treat m3u files as erm.. mp3 stream files... Can't remember the actual mime type now.

Yes your right.. it's easier to get round the very low level security.. but I would recommend you only still stream snippets of songs if you really don't want people to download the songs without paying. Any other method can still be got around.

Ben

Post

Glooper wrote:That is in fact a problem with the webserver reporting the wrong mime type for the m3u file. This needs to be fixed by changing you webserver configuration to treat m3u files as erm.. mp3 stream files... Can't remember the actual mime type now.
With Apache I believe you could add that as:

AddType audio/x-mpegurl .m3u

Post

Yeah, just double checked that mime type and your right Har

M3U Mime type is "audio/x-mpegurl" and MP3 Mime type is "audio/mpeg"

If you don't have access to the http servers configuration files you can also force the mime type using....

<a href="music.m3u" type="audio/x-mpegurl">

in your a tag on the referencing web page.

Ben

Post

Glooper wrote:<a href="music.m3u" type="audio/x-mpegurl">
Interesting... If I put an mp3 file on my page its screwed up during download, the protocols think its text or whatever. As a workaround I rename it .zip and instruct everybody to rename .mp3 after downloading. Will noting the type as mpeg solve my issue?

Post

C00kie wrote:
Glooper wrote:<a href="music.m3u" type="audio/x-mpegurl">
Interesting... If I put an mp3 file on my page its screwed up during download, the protocols think its text or whatever. As a workaround I rename it .zip and instruct everybody to rename .mp3 after downloading. Will noting the type as mpeg solve my issue?
It might do.. try the type as "audio/mpeg"... though of course You can't add the type parameter to links added on KVR.

But if you have access to the web server configuration files you should be able to setup the mime types correctly.

Ben

Post

Thanks guys, your help is appreciated.

I found this site which also explains it clearly,

http://nunzioweb.com/streaming_audio-example.htm
For anyone else that needs it,

Although he says Cross Browser, it doesn't work with Safari. Which is my browser of choice.
MySpace/Escapee Planes
Virb
Perfume EP out 17 Dec, 12" MP3, FLAC & WAV

Post


Post

Ocean Zen wrote:I prefer the style that most people have in the Music Cafe, where you just click on the link and it plays in the browser window. Is that much different to implement?
To that you just need to put a link to the MP3 file and your browser plugin should do the rest. It offers no protection but is the best way to offer previews or whatever IMHO.
NOVAkILL : Legion GO, AMD Z1x, 16GB RAM, Win11 | Audient EVO 8 | Lumi Keys | Studio Pro 8
Korg Odyssey, bx-oberhausen, Proxima, PolyMax, GR8, JP6K, Union, Atomika,
Invader 2, Flow Motion, Olga, TRK 01, Thorn, Spire, VG Iron

Post

Thanks Bones, that sounds nice and simple.
I must have missed this post before as I was about to ask again. :)
MySpace/Escapee Planes
Virb
Perfume EP out 17 Dec, 12" MP3, FLAC & WAV

Post Reply

Return to “Everything Else (Music related)”