Merge pull request #2437 from TehDmitry/dev

Allowing autoplay in data-background-iframe for audio and video elements
main
Hakim El Hattab 3 years ago committed by GitHub
commit 201e8316a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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 );

Loading…
Cancel
Save