Fix video background autoplay on iOS
This commit is contained in:
parent
a349ff43c5
commit
d9dd9a92fb
@ -3058,6 +3058,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