dear sir / madam
we have YouTube code
we want to replace
width by 100%
and
height by 100%
I want to do it using JQUERY
in php I am using
$copy_date = $rows['detail'];// youtube code
$pattern = '/width="\d+"/i' ;
$new_style = 'width="280"' ;
$detail = preg_replace($pattern, $new_style, $copy_date) ;