Bugfix: Fix full screen for embedded videos

This commit is contained in:
rabuzarus 2016-12-04 14:55:57 +01:00
parent bdae456e5d
commit 5ca93d0541

View file

@ -261,7 +261,7 @@ function oembed_iframe($src, $width, $height) {
$width = '100%';
$s = App::get_baseurl() . '/oembed/'.base64url_encode($src);
return '<iframe onload="resizeIframe(this);" class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $s . '" scrolling="no" frameborder="no">' . t('Embedded content') . '</iframe>';
return '<iframe onload="resizeIframe(this);" class="embed_rich" height="' . $height . '" width="' . $width . '" src="' . $s . '" allowfullscreen scrolling="no" frameborder="no">' . t('Embedded content') . '</iframe>';
}