2008-07-23, 03:22 PM
You can add this and other bbcode the editor?
---------------------------------------
MyCode title:
YouTube
---------------------------------------
Code:
\[youtube\](.*?)\[/youtube\]
--------------------------------------------
Replacement:
PHP Code:
<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>
--------------------------
thanks
---------------------------------------
MyCode title:
YouTube
---------------------------------------
Code:
\[youtube\](.*?)\[/youtube\]
--------------------------------------------
Replacement:
PHP Code:
<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>
--------------------------
thanks