Fix video background autoplay on iOS

This commit is contained in:
ADAM STONE 2017-03-17 22:47:25 -04:00
parent a349ff43c5
commit d9dd9a92fb

View file

@ -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', '' );