From 3ea7e2ff59a9ec7e0fc549b00fbc5367f17a10f5 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Thu, 30 Mar 2017 16:26:49 +0200
Subject: [PATCH] allow fullscreen for background iframes

---
 js/reveal.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/js/reveal.js b/js/reveal.js
index 4e4bf241..e093cb88 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
-- 
GitLab