diff options
author | friendica <info@friendica.com> | 2013-12-01 00:35:35 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-01 00:35:35 -0800 |
commit | d43118fdcfe1d4f89698ead0d3324ca81695cf4a (patch) | |
tree | a03ab8dc24eeba59a796e46b9a75e7537fefca64 /include/oembed.php | |
parent | bd33e0486d992eb8904f84862c052ee2f9d01d55 (diff) | |
download | volse-hubzilla-d43118fdcfe1d4f89698ead0d3324ca81695cf4a.tar.gz volse-hubzilla-d43118fdcfe1d4f89698ead0d3324ca81695cf4a.tar.bz2 volse-hubzilla-d43118fdcfe1d4f89698ead0d3324ca81695cf4a.zip |
get rid of fetch_url - post_url will be a bit harder as several plugins need to be updated
Diffstat (limited to 'include/oembed.php')
-rwxr-xr-x | include/oembed.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php index 5da842170..520b69892 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -44,7 +44,8 @@ function oembed_fetch_url($embedurl){ $entries = $xpath->query("//link[@type='application/json+oembed']"); foreach($entries as $e){ $href = $e->getAttributeNode("href")->nodeValue; - $txt = fetch_url($href . '&maxwidth=' . $a->videowidth); + $x = z_fetch_url($href . '&maxwidth=' . $a->videowidth); + $txt = $x['body']; break; } } |