jacko
Well-known member
It was already suggested as a core feature of Xenforo here: http://xenforo.com/community/threads/attachment-mp3-player.354/ , but it could also be a modification.
In vBulletin it was quite simple. There was a code that had to be inserted in postbit attachment template:
perhaps it is similar in Xenforo?
In vBulletin it was quite simple. There was a code that had to be inserted in postbit attachment template:
Code:
<!-- Embed Player --> <vb:if condition="$attachment[attachmentextension] == mp3"> <embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl=attachment.php?{vb:raw session.sessionurl}attachmentid={vb:raw attachment.attachmentid}&d={vb:raw attachment.dateline}" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />
</vb:if> <!-- /Embed Player -->
perhaps it is similar in Xenforo?