aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Riet Paap <jeroenpraat@users.noreply.github.com>2016-12-03 11:47:10 +0100
committerGitHub <noreply@github.com>2016-12-03 11:47:10 +0100
commit5aeb8305fc5162a7ef2ef5c64827087dd673f47c (patch)
tree2de29b79adfe07cfcb498467655afc6965830b67
parent8e6ff32c97fe6abbbc93e3d7d2769142c285b948 (diff)
downloadvolse-hubzilla-5aeb8305fc5162a7ef2ef5c64827087dd673f47c.tar.gz
volse-hubzilla-5aeb8305fc5162a7ef2ef5c64827087dd673f47c.tar.bz2
volse-hubzilla-5aeb8305fc5162a7ef2ef5c64827087dd673f47c.zip
Fix full screen for embedded videos
-rwxr-xr-xinclude/oembed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oembed.php b/include/oembed.php
index 52fb04058..eb7b76437 100755
--- a/include/oembed.php
+++ b/include/oembed.php
@@ -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>';
}