MP3 support (General questions)

by dev4fun @, (5343 days ago)

Hello,
I want to support MP3 files in my application.
How do I do that?

(How can I configure the code to support MP3 content and play it directly from the url like Windows Media Player?)

locked

Re: MP3 support

by wodDamir @, (5343 days ago) @ dev4fun

Hi,

Basically, If I'm correct, it's a just a matter of supplying the correct Content-type header to the client. In this case, you would need to set it to audio/mpeg .

When you click on such an URL, it would launch Windows Media Player (or the default one) and play it.

You should check out the following URL for more info: http://www.spartanicus.utvinternet.ie/streaming.htm

Is that what you were reffering to?

Regards,
Damba

locked

Re: MP3 support

by dev4fun @, (5343 days ago) @ wodDamir

Thanks! :)

locked

Re: MP3 support

by cyman @, (5312 days ago) @ dev4fun

Any easy way to supply MIME types to WodWebServer for when it does directory browsing?

(Or code examples)

locked