1)
{
$vid= explode('=',$parts[0],2);
$vid = $vid[1];
$width = $parts[1];
if(count($parts) > 2)
{
$height = $parts[2];
}
else
{
$height = "";
}
$replace = '';
}
else
{
$vid= explode('=',$matches[1][$x]);
$vid = $vid[1];
$replace = '';
}
$content = str_replace($matches[0][$x], $replace, $content);
}
return $content;
}
function googlevideo_content($content)
{
$regex = '/\[googlevideo:(.*?)]/i';
preg_match_all( $regex, $content, $matches );
for($x=0; $x 1)
{
$vid= explode('=',$parts[0]);
$vid = $vid[1];
$width = $parts[1];
if(count($parts) > 2)
{
$height = $parts[2];
}
else
{
$height = "";
}
$replace = '';
}
else
{
$vid= explode('=',$matches[1][$x]);
$vid = $vid[1];
$replace = '';
}
$content = str_replace($matches[0][$x], $replace, $content);
}
return $content;
}
?>