diff options
Diffstat (limited to 'Zotlabs/Module/Oembed.php')
-rw-r--r-- | Zotlabs/Module/Oembed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Oembed.php b/Zotlabs/Module/Oembed.php index b02182053..9394e5942 100644 --- a/Zotlabs/Module/Oembed.php +++ b/Zotlabs/Module/Oembed.php @@ -22,10 +22,10 @@ class Oembed extends \Zotlabs\Web\Controller { } else { - echo "<html><body>"; + echo "<html><head><base target=\"_blank\" /></head><body>"; $src = base64url_decode(argv(1)); $j = oembed_fetch_url($src); - echo $j->html; + echo $j['html']; // logger('mod-oembed ' . $h, LOGGER_ALL); echo "</body></html>"; } |