Depreciated PHP commands problems fixed with the following (edit your vbtube_functions.php file):
FIND:
Code:
if(!(eregi("vbtube", $text))) exit;
REPLACE WITH:
Code:
if(!(preg_match("%vbtube%i", $text))) exit;
FIND:
Code:
function vbtube_resize_player($link,$autotube_size,$autotube_size_height)
{
if(eregi("sevenload.", $link))
REPLACE WITH:
Code:
function vbtube_resize_player($link,$autotube_size,$autotube_size_height)
{
if(preg_match("%sevenload.%i", $link))
FIND:
Code:
//$autotube_size="100%";
$regexp_search = 'width=".{3}"';
$regexp_replace = 'width="'.$autotube_size.'"';
$autostart = preg_replace($regexp_search, $regexp_replace, $link);
$regexp_search = 'height=".{3}"';
$regexp_replace = 'height="'.$autotube_size_height.'"';
$link = preg_replace($regexp_search, $regexp_replace, $autostart);
$regexp_search = 'width:.{3}';
$regexp_replace = "width:$autotube_size";
$autostart = preg_replace($regexp_search, $regexp_replace, $link);
$regexp_search = 'height:.{3}';
$regexp_replace = "height:$autotube_size_height";
$link = preg_replace($regexp_search, $regexp_replace, $autostart);
REPLACE WITH:
Code:
//$autotube_size="100%";
$regexp_search = 'width=".{3}"';
$regexp_replace = 'width="'.$autotube_size.'"';
$autostart = preg_replace('%'.$regexp_search.'%', $regexp_replace, $link);
$regexp_search = 'height=".{3}"';
$regexp_replace = 'height="'.$autotube_size_height.'"';
$link = preg_replace('%'.$regexp_search.'%', $regexp_replace, $autostart);
$regexp_search = 'width:.{3}';
$regexp_replace = "width:$autotube_size";
$autostart = preg_replace('%'.$regexp_search.'%', $regexp_replace, $link);
$regexp_search = 'height:.{3}';
$regexp_replace = "height:$autotube_size_height";
$link = preg_replace('%'.$regexp_search.'%', $regexp_replace, $autostart);
FIND:
Code:
$link = eregi_replace("autoplay=1","autoplay=0",$link);
REPLACE WITH:
Code:
$link = preg_replace("%autoplay=1%i","%autoplay=0%i",$link);
That should (hopefully) fix it. - please correct me if I'm wrong - I'm not an expert