[mp3: src=http://download.publicradio.org/podcast/minnesota/podcasts/current_download/2007/01/20070201_apples_in_stereo_energy.mp3: display=Apples in Stereo - Energy]
I thought it was about time an extremely simple mp3 player was integrated into Community Server. Behold the Community Server MP3 Player. Actually, the code comes from http://www.tagtooga.com/ but the module code is yours trully.
Here is an example of how you would make an mp3 be able to play like the ones on this page:
[mp3: src=http://site.com/apples_in_stereo_energy.mp3: display=Apples in Stereo - Energy ]
The syntax is extremely simple because player is also simple. In future versions I will probably switch to a more robust player that allows you to seek around a song and perhaps even have a playlist. But for the time being I believe that this player does an adequate job at both linking directly to an mp3 file and allowing you to play it in the page.
I will post the package to my downloads section, so make sure you grab a copy.
Here is the text from the README:
To install the media module simply add the following to your CSModules section of your CommunityServer.config file:
<add name = "Mp3Module" type="CS.MediaModules.Mp3Module, CS.MediaModules" />
To use this module simply add a text part linking to the mp3 file you want to be able to play with the following parameters:
src = URL of MP3 file
display = What you want to be displayed in replace of the URL path
Here is another song I think you will enjoy:
[mp3: src=http://download.publicradio.org/podcast/minnesota/podcasts/current_download/2007/01/20070109_the_shins-phantom_limb.mp3: display=The Shins - Phantom Limb]