Fix full screen for embedded videos

This commit is contained in:
Jeroen van Riet Paap 2016-12-03 11:47:10 +01:00 committed by GitHub
parent 8e6ff32c97
commit 5aeb8305fc

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