MP3 support (General questions)
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?)
Re: MP3 support
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
Re: MP3 support
Thanks! :)
Re: MP3 support
Any easy way to supply MIME types to WodWebServer for when it does directory browsing?
(Or code examples)
Re: MP3 support
Hi,
For directory browsing in wodWebServer you can just set AllowBrowsing Property to True.
You can choice in DocumentRoot Property with folder you want to browse.
More help for AllowBrowsing Property you can find here:
http://www.weonlydo.com/WebServer/Help/WODWEBSERVERLib~wodWebServer~AllowBrowsing.html
Hope this helps.
Regards,
Drazen