• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Flash attachment mp3 player

jacko

Well-known member
#1
jacko submitted a new resource:

Flash attachment mp3 player - Simple play button below mp3 attachments

In the attached_files template find line:

PHP:
<dl><dt>{xen:phrase file_size}:</dt> <dd>{xen:number $attachment.file_size, size}</dd></dl>
below add code:

PHP:
<xen:comment>
MP3 PLAYER START
</xen:comment>
<xen:if is="{$attachment.extension} == 'mp3' ">
<!-- Generated by AudioPlay Online Generator (http://www.strangecube.com/audioplay/) --><div><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"...
Read more about this resource...