Merge pull request #2991 from rabuzarus/20161204_-_allowfullscreen

Bugfix: Fix full screen for embedded videos
This commit is contained in:
Tobias Diekershoff 2016-12-04 17:49:15 +01:00 committed by GitHub
commit 9899c30d0f

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>';
}