2007-10-03, 07:05 AM
Go into AdminCP -> Message Filters -> Custom MyCode. Add the following
Name: You pick
Regular expression:
You'll probably want to change the width and height. You also may want to investigate the allowscriptaccess property - I'm not too certain what it does.
Name: You pick
Regular expression:
\[video\]([a-z]+?://)([^\r\n\"\[<]+?)\[/video\]
Replacement:<embed src="http://www.jeroenwijering.com/embed/mediaplayer.swf" width="320" height="180" allowfullscreen="true" allowscriptaccess="always" flashvars="&file=$1$2" />
You'll probably want to change the width and height. You also may want to investigate the allowscriptaccess property - I'm not too certain what it does.