2015-05-17, 05:56 PM
I want to make the following MyCode work without any tags at the beginning or end. The person will just paste their soundcloud link and it will work without the tags.
How would I go about doing that?
\[soundcloud\](.*?)\[/soundcloud\]
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=$1&g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=$1&g=bb" type="application/x-shockwave-flash" width="100%"></embed></object>
How would I go about doing that?
\[soundcloud\](.*?)\[/soundcloud\]
<object height="81" width="100%"><param name="movie" value="http://player.soundcloud.com/player.swf?url=$1&g=bb"></param><param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=$1&g=bb" type="application/x-shockwave-flash" width="100%"></embed></object>