From 5ca93d054104b4af964263ec5b054806b5222bba Mon Sep 17 00:00:00 2001
From: rabuzarus <>
Date: Sun, 4 Dec 2016 14:55:57 +0100
Subject: [PATCH] Bugfix: Fix full screen for embedded videos

---
 include/oembed.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/oembed.php b/include/oembed.php
index a3d2deaca0..5abd03b617 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -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>';
 }