Hello .. i want a mode .. i dont know if exist but
let`s try.
i want to put a player (mp3) to a topic ..
something like this.
[
attachment=8181]
i want to show to ppl a song .. but just listen .. and this mod i want.. anybody?
Generally, you add a custom MyCode, which links to a flash MP3 player.
Most flash MP3 players you can download, should show you what HTML to enter. Just make a custom MyCode with the HTML.
i dont know
how to make please help me
---------------------------
Look here
http://www.macloo.com/examples/audio_player/
I have make what he says there .. and not work ..
see just code
(Done with this)
But i need to put like a code like [mp3]yourmp3link.mp3[/mp3]
because is very long html code
<object type="application/x-shockwave-flash" data="http://name.com/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://name.com/player.swf">
<param name="FlashVars" value="playerID=1&soundFile=http://name.com/mp3link.mp3">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Add the following MyCode
Regex:
\[mp3\]http://([^\r\n\"\[<]+?)\[/mp3\]
Replacement:
<object type="application/x-shockwave-flash" data="http://name.com/player.swf" id="audioplayer1" height="24" width="290">
<param name="movie" value="http://name.com/player.swf">
<param name="FlashVars" value="playerID=1&soundFile=$1">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Replace the two instances of
http://name.com/player.swf with the correct URL to the SWF file.
but were to put \[mp3\]http://([^\r\n\"\[<]+?)\[/mp3\] ?!
and html code
AdminCP -> Message Filters -> Custom MyCode
Done. but when i put:
[mp3]http://name.com/test.mp3[/mp3]
is give me this erorr
is dont find the music.
because at replacement is line this
<param name="FlashVars" value="playerID=1&soundFile=$1">
And url from song :-?
sorry for my bad english
Oops, you are correct - try changing the line to:
<param name="FlashVars" value="playerID=1&soundFile=http://$1">
working !! you are the man :X thanks ZiNga BuRgA :x