2011-04-22, 07:29 AM
Introduction
I was recently addicted to soundcloud for it's speed and it's beauty. I made a bb tag for it.. It's only minimal nothing more, nothing less. But it works perfectly
Regular Expression
Replacement
Working Demo
http://synfyre.net/index.php?mdl=forum&pid=93
Cheers!,
-n1tr0b
I was recently addicted to soundcloud for it's speed and it's beauty. I made a bb tag for it.. It's only minimal nothing more, nothing less. But it works perfectly
Regular Expression
/\[soundcloud\](http:\/\/)soundcloud.com\/(.+?)\/(.+?)\[\/soundcloud\]/
Replacement
<object height=\"81\" width=\"100%\"><param name=\"movie\" value=\"http://player.soundcloud.com/player.swf?url=$1soundcloud.com/$2/$3&show_comments=true&auto_play=false\"</param> <param name=\"allowscriptaccess\" value=\"always\"></param> <embed allowscriptaccess=\"always\" height=\"81\" src=\"http://player.soundcloud.com/player.swf?url=$1soundcloud.com/$2/$3&show_comments=true&auto_play=false\" type=\"application/x-shockwave-flash\" width=\"100%\"></embed></object>
Working Demo
http://synfyre.net/index.php?mdl=forum&pid=93
Cheers!,
-n1tr0b