XF 1.3 Problem in Embed MP3 Player code

Mian Shahid

Well-known member
Hi, I am trying to add the following in BB Media Code

Code:
<object type="application/x-shockwave-flash" data="dewplayer.swf" width="200" height="20" id="dewplayer" name="dewplayer">
<param name="movie" value="audio/dewplayer-bubble.swf" />
<param name="flashvars" value="{$id}" />
<param name="wmode" value="transparent" />
</object>

MuhilzO.png


but it dose not showing any thing in post where i am putting the following as input

Code:
[MEDIA=MP3PLAYER]audio/OldPhone.mp3[/MEDIA]

i think i am doing something wrong but can't figure it out.

Any idea?
 
I implemented the browser controlled mp3 player via attachments.

I edited the template "attached_files" respectively.

Code:
<div class="attachmentInfo pairsJustified">
                        <h6 class="filename"><a href="{xen:link attachments, $attachment}" target="_blank">{$attachment.filename}</a></h6>
                        <dl><dt>{xen:phrase file_size}:</dt> <dd>{xen:number $attachment.file_size, size}</dd></dl>
                        <xen:if is="{$attachment.extension} == 'mp3' ">
                        <audio src="{xen:link attachments, $attachment}" controls></audio></xen:if>
                        <dl><dt>{xen:phrase views}:</dt> <dd>{xen:number $attachment.view_count}</dd></dl>
                    </div>

The result looks like this:
5783580926.png
 
Top Bottom