2007-04-28, 03:56 AM
(This post was last modified: 2007-04-28, 05:53 AM by richjohnny.)
Hey, how do you add the Custom MyCode links to the Posting Pages?
Like say, Underneath the Smilies. I just made one to insert YouTube videos.
I think I made a better way for flash files, this supports width and height and is less confusing. its like this.
[flash width=WIDTH height=HEIGHT]FLASH URL[/flash]
Expression:
Replacement:
If that doesn't work then I don't know what will.
And for Youtube Videos.
[youtube]YouTube ID Tag eg: GHfasidfs-dfu[/youtube]
The Id tag is that little jumbled up piece of text that appears at the end of the youtube Url.
Extension:
Replacement:
Like say, Underneath the Smilies. I just made one to insert YouTube videos.
I think I made a better way for flash files, this supports width and height and is less confusing. its like this.
[flash width=WIDTH height=HEIGHT]FLASH URL[/flash]
Expression:
\[flash width\=(.*?) height\=(.*?)\](.*?)\[/flash\]
Replacement:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" width="$1" height="$2">
<param name="movie" value="$3">
<param name="quality" value="high">
<embed src="$3" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="$1" height="$2">
</embed>
</object>
If that doesn't work then I don't know what will.
And for Youtube Videos.
[youtube]YouTube ID Tag eg: GHfasidfs-dfu[/youtube]
The Id tag is that little jumbled up piece of text that appears at the end of the youtube Url.
Extension:
\[youtube\](.*?)\[/youtube\]
Replacement:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>