aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-04 07:46:31 +1100
committerGitHub <noreply@github.com>2016-12-04 07:46:31 +1100
commita33a5771edea227b2378e2377198ccfddbfdb55d (patch)
tree0597709dad656e07328e00d652b9412f62d36a1d
parent5bedf3618d0108a767d1cef32634c7be4942110f (diff)
parent5aeb8305fc5162a7ef2ef5c64827087dd673f47c (diff)
downloadvolse-hubzilla-a33a5771edea227b2378e2377198ccfddbfdb55d.tar.gz
volse-hubzilla-a33a5771edea227b2378e2377198ccfddbfdb55d.tar.bz2
volse-hubzilla-a33a5771edea227b2378e2377198ccfddbfdb55d.zip
Merge pull request #608 from redmatrix/jeroenpraat-patch-1
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>';
}