Merge pull request #2437 from TehDmitry/dev

Allowing autoplay in data-background-iframe for audio and video elements
This commit is contained in:
Hakim El Hattab authored and GitHub committed 2019-12-09 21:09:38 +01:00
commit 201e8316a2
1 file changed
+1
+1
View File
@@ -3862,6 +3862,7 @@
iframe.setAttribute( 'allowfullscreen', '' );
iframe.setAttribute( 'mozallowfullscreen', '' );
iframe.setAttribute( 'webkitallowfullscreen', '' );
iframe.setAttribute( 'allow', 'autoplay' );
iframe.setAttribute( 'data-src', backgroundIframe );