From bdda443335ceb39ea796ec185655e69e970c0698 Mon Sep 17 00:00:00 2001 From: TehDmitry Date: Sun, 9 Jun 2019 16:31:36 +0300 Subject: [PATCH] =?UTF-8?q?Allowing=20autoplay=20in=20data-background-ifra?= =?UTF-8?q?me=20for=20audio=20and=20video=20elements=20It=20was=20restrict?= =?UTF-8?q?ed=20by=20=C2=ABAutoplay=20Policy=20Changes=C2=BB:=20https://de?= =?UTF-8?q?velopers.google.com/web/updates/2017/09/autoplay-policy-changes?= =?UTF-8?q?#iframe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/reveal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/reveal.js b/js/reveal.js index 0065e9b8..2cb1dfb5 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -3855,6 +3855,7 @@ iframe.setAttribute( 'allowfullscreen', '' ); iframe.setAttribute( 'mozallowfullscreen', '' ); iframe.setAttribute( 'webkitallowfullscreen', '' ); + iframe.setAttribute( 'allow', 'autoplay' ); iframe.setAttribute( 'data-src', backgroundIframe );