This commit is contained in:
parent
8e8333a7a1
commit
d66bb63bfc
1 changed files with 2 additions and 13 deletions
|
@ -289,18 +289,7 @@ if (!function_exists('validate_embed_code'))
|
|||
'height='.$height_replace
|
||||
);
|
||||
|
||||
if (THIS_PAGE == 'watch_video'){
|
||||
$iframe = $vdetails['embed_code'];
|
||||
|
||||
|
||||
$iframe = str_replace('height=', 'height="350"', $iframe);
|
||||
$iframe = str_replace('width=', 'width="749"', $iframe);
|
||||
$embed_code = $iframe;
|
||||
|
||||
|
||||
}
|
||||
|
||||
else{
|
||||
|
||||
|
||||
/*$embed_code = str_replace($h_w_p, $h_w_r, $embed_code);
|
||||
$embed_code = preg_replace($preg_match, $preg_repalce, $embed_code); */
|
||||
|
@ -310,7 +299,7 @@ if (!function_exists('validate_embed_code'))
|
|||
$embed_code = $iframe;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
$embed_code = str_replace('href=', 'style="display:none;"', $embed_code);
|
||||
$embed_code = str_replace('by', '', $embed_code);
|
||||
|
|
Loading…
Add table
Reference in a new issue