Browse Source

Merge pull request #4170 from MrPetovan/bug/4155-remove-proxy-oembed

Fix typo in OEmbed
pull/4174/head
Hypolite Petovan 4 years ago
committed by GitHub
parent
commit
5640c42469
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Content/OEmbed.php

2
src/Content/OEmbed.php

@ -319,7 +319,7 @@ class OEmbed
if (Config::get('system', 'ssl_policy') == SSL_POLICY_FULL && parse_url($src, PHP_URL_SCHEME) !== 'https') {
$src = System::baseUrl() . '/oembed/' . base64url_encode($src);
}
return '<iframe onload="resizeIframe(this);" class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $s . '" allowfullscreen scrolling="no" frameborder="no">' . t('Embedded content') . '</iframe>';
return '<iframe onload="resizeIframe(this);" class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $src . '" allowfullscreen scrolling="no" frameborder="no">' . t('Embedded content') . '</iframe>';
}
/**

Loading…
Cancel
Save