try to fix youtube mixed content warnings
This commit is contained in:
@@ -99,6 +99,8 @@ function oembed_format_object($j){
|
||||
|
||||
$th=120; $tw = $th*$tr;
|
||||
$tpl=get_markup_template('oembed_video.tpl');
|
||||
if(strstr($embedurl,'youtu'))
|
||||
$embedurl = str_replace('http:','https:',$embedurl);
|
||||
$ret.=replace_macros($tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$embedurl'=>$embedurl,
|
||||
|
||||
Reference in New Issue
Block a user