Ok, I did an Impex import from UBB.Threads to VB and have had a lot of luck parsing most of the code (smilies, etc) using cleaner.php. But wherever someone has posted a video on my old forum looks like this:
I first wanted to get the front part to change to a "" tag, then the back part to look like "
This is the code I put in cleaner.php for the first try:
But cleaner didn't touch it. Any ideas why not? Thanks in advance.
Code:
[COLOR=#333333]<object width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/16kh-AP4OCU"></param> <param name="wmode" value="transparent"></param> <embed src="http://www.youtube.com/v/16kh-AP4OCU" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"> </embed></object>[/COLOR]
This is the code I put in cleaner.php for the first try:
PHP Code:
$replacer = array( '<object width="425" height="350">' => "",
'<param name="movie" value="' => "[video]",
'"></param>' => "[/video]",
"" => "",
"" => ""
);