diff options
author | nobody <nobody@zotlabs.com> | 2021-04-05 23:15:01 -0700 |
---|---|---|
committer | nobody <nobody@zotlabs.com> | 2021-04-05 23:15:01 -0700 |
commit | 9359fc065c72243bd85f0fc3db842976f07183cc (patch) | |
tree | 37551feefe6fff472b9c346a7a8c3cd9080d8946 /include/oembed.php | |
parent | 878be8fff0328ee4ab978de20e7e385244ac54ec (diff) | |
parent | 19daadbfd7f281e27dffdc53d0e8ebeb837e1ae3 (diff) | |
download | volse-hubzilla-9359fc065c72243bd85f0fc3db842976f07183cc.tar.gz volse-hubzilla-9359fc065c72243bd85f0fc3db842976f07183cc.tar.bz2 volse-hubzilla-9359fc065c72243bd85f0fc3db842976f07183cc.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/oembed.php')
-rw-r--r-- | include/oembed.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/oembed.php b/include/oembed.php index 01cd8945f..9a25686fa 100644 --- a/include/oembed.php +++ b/include/oembed.php @@ -193,9 +193,9 @@ function oembed_fetch_url($embedurl){ // Youtube will happily hand us an http oembed URL even if we specify an https link; and the returned http link will fail with a 40x if you try and fetch it // This is not our bug, but good luck getting google to fix it. - if (strpos($href,'http:') === 0 && strpos($href,'youtu') !== false) { - $href = str_replace('http:','https:', $href); - } + //if (strpos($href,'http:') === 0 && strpos($href,'youtu') !== false) { + // $href = str_replace('http:','https:', $href); + //} $x = z_fetch_url($href . '&maxwidth=' . App::$videowidth); if($x['success']) |