Merge pull request #608 from redmatrix/jeroenpraat-patch-1
Fix full screen for embedded videos
This commit is contained in:
commit
a33a5771ed
@ -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>';
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user