Fix video background autoplay on iOS
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