Merge pull request #608 from redmatrix/jeroenpraat-patch-1

Fix full screen for embedded videos
This commit is contained in:
zotlabs 2016-12-04 07:46:31 +11:00 committed by GitHub
commit a33a5771ed

View File

@ -338,7 +338,7 @@ function oembed_iframe($src,$width,$height) {
// Make sure any children are sandboxed within their own iframe.
return '<iframe ' . $scroll . 'height="' . $height . '" width="' . $width . '" src="' . $s . '" frameborder="no" >'
return '<iframe ' . $scroll . 'height="' . $height . '" width="' . $width . '" src="' . $s . '" allowfullscreen frameborder="no" >'
. t('Embedded content') . '</iframe>';
}