convert oembed tools to use json arrays rather than json objects
This commit is contained in:
@@ -25,7 +25,7 @@ class Oembed extends \Zotlabs\Web\Controller {
|
||||
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>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user