Merge pull request #2437 from TehDmitry/dev
Allowing autoplay in data-background-iframe for audio and video elements
This commit is contained in:
commit
201e8316a2
1 changed files with 1 additions and 0 deletions
|
@ -3862,6 +3862,7 @@
|
||||||
iframe.setAttribute( 'allowfullscreen', '' );
|
iframe.setAttribute( 'allowfullscreen', '' );
|
||||||
iframe.setAttribute( 'mozallowfullscreen', '' );
|
iframe.setAttribute( 'mozallowfullscreen', '' );
|
||||||
iframe.setAttribute( 'webkitallowfullscreen', '' );
|
iframe.setAttribute( 'webkitallowfullscreen', '' );
|
||||||
|
iframe.setAttribute( 'allow', 'autoplay' );
|
||||||
|
|
||||||
iframe.setAttribute( 'data-src', backgroundIframe );
|
iframe.setAttribute( 'data-src', backgroundIframe );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue