Fix full screen for embedded videos
This commit is contained in:
parent
8e6ff32c97
commit
5aeb8305fc
@ -338,7 +338,7 @@ function oembed_iframe($src,$width,$height) {
|
|||||||
|
|
||||||
// Make sure any children are sandboxed within their own iframe.
|
// 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>';
|
. t('Embedded content') . '</iframe>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user