X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FOEmbed.php;h=dbba99fcffa5238d31c98a0d33a892ffa34eab30;hb=65b86fe0d556829c09e8c8f5c707b868ad37dfe1;hp=1ef72ae1df29ee9c9deb877657114f1f33381316;hpb=73c3b21665e7e22c4c9908272279d9605282acca;p=friendica.git diff --git a/src/Content/OEmbed.php b/src/Content/OEmbed.php index 1ef72ae1df..dbba99fcff 100644 --- a/src/Content/OEmbed.php +++ b/src/Content/OEmbed.php @@ -98,7 +98,7 @@ class OEmbed if (!in_array($ext, $noexts)) { // try oembed autodiscovery - $html_text = DI::httpClient()->fetch($embedurl, 15, HttpClientAccept::HTML); + $html_text = DI::httpClient()->fetch($embedurl, HttpClientAccept::HTML, 15); if (!empty($html_text)) { $dom = new DOMDocument(); if (@$dom->loadHTML($html_text)) {