aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-03-30 16:26:49 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-03-30 16:26:49 +0200
commit3ea7e2ff59a9ec7e0fc549b00fbc5367f17a10f5 (patch)
treedb7ea40873fa18f2245ddc6801ddd81adef784df
parenta0a3b4f80da716f041ba6ba071ca0c2900404f52 (diff)
downloadperl-software-in-gnu-guix-3ea7e2ff59a9ec7e0fc549b00fbc5367f17a10f5.tar
perl-software-in-gnu-guix-3ea7e2ff59a9ec7e0fc549b00fbc5367f17a10f5.tar.gz
allow fullscreen for background iframes
-rw-r--r--js/reveal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 4e4bf24..e093cb8 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3122,6 +3122,9 @@
// Iframes
else if( backgroundIframe ) {
var iframe = document.createElement( 'iframe' );
+ iframe.setAttribute( 'allowfullscreen', '' );
+ iframe.setAttribute( 'mozallowfullscreen', '' );
+ iframe.setAttribute( 'webkitallowfullscreen', '' );
// Only load autoplaying content when the slide is shown to
// avoid having it play in the background