in attached_files template find this line:
...and above add this:PHP Code:
<dl><dt>{xen:phrase file_size}:</dt> <dd>{xen:number $attachment.file_size, size}</dd></dl>
PHP Code:
<xen:if is="{$attachment.extension} == 'mp3' ">
<embed type="application/x-shockwave-flash" src="audio-player.swf?audioUrl={xen:link attachments, $attachment}" width="350" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded">
</xen:if>
in attached_files.css find:
PHP Code:
.attachment
{
float: left;
width: 33%;
}
and change width value from 33% to 490px or some other value that you find more suitable
For this to work you need to get audio-player.swf file from Google. Currently the player is available here: http://www.google.com/reader/ui/3523...dio-player.swf
Of course other flash mp3 players can be used too.
The player will look like this:
Bookmarks