diff options
author | Hakim El Hattab | 2019-12-09 21:09:38 +0100 |
---|---|---|
committer | GitHub | 2019-12-09 21:09:38 +0100 |
commit | 201e8316a279c7ffb9ed8bd4a093cd41a979fd01 (patch) | |
tree | 0fc27d43ed566d8524fb6674884df9250847d639 | |
parent | bb8b4d8883645de9c6fedc885b498f117773d35d (diff) | |
parent | bdda443335ceb39ea796ec185655e69e970c0698 (diff) |
Merge pull request #2437 from TehDmitry/dev
Allowing autoplay in data-background-iframe for audio and video elements
-rw-r--r-- | js/reveal.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index 57fe29d..fce3dbc 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -3862,6 +3862,7 @@ iframe.setAttribute( 'allowfullscreen', '' ); iframe.setAttribute( 'mozallowfullscreen', '' ); iframe.setAttribute( 'webkitallowfullscreen', '' ); + iframe.setAttribute( 'allow', 'autoplay' ); iframe.setAttribute( 'data-src', backgroundIframe ); |