mirror of
https://github.com/friendica/friendica
synced 2025-04-27 03:10:12 +00:00
oembed: wrap in iframe only html from remote service
This commit is contained in:
parent
ae12074337
commit
afce790e56
4 changed files with 150 additions and 8 deletions
|
@ -19,7 +19,7 @@ function tryoembed($match){
|
|||
if ($o->type=="error") return $match[0];
|
||||
|
||||
$html = oembed_format_object($o);
|
||||
return oembed_iframe($html,$o->width,$o->height);
|
||||
return $html; //oembed_iframe($html,$o->width,$o->height);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue