Merge pull request #1851 from astone123/master
Fix data-background-video autoplay on iOS Safari
This commit is contained in:
commit
2289b92961
@ -3113,6 +3113,8 @@
|
||||
// Videos
|
||||
else if ( backgroundVideo && !isSpeakerNotes() ) {
|
||||
var video = document.createElement( 'video' );
|
||||
video.setAttribute( 'autoplay', '' );
|
||||
video.setAttribute( 'playsinline', '' );
|
||||
|
||||
if( backgroundVideoLoop ) {
|
||||
video.setAttribute( 'loop', '' );
|
||||
|
Loading…
Reference in New Issue
Block a user