diff --git a/src/js/_enqueues/wp/custom-header.js b/src/js/_enqueues/wp/custom-header.js index 5a446727fa..ae43f56174 100644 --- a/src/js/_enqueues/wp/custom-header.js +++ b/src/js/_enqueues/wp/custom-header.js @@ -287,9 +287,10 @@ video = document.createElement( 'video' ); video.id = 'wp-custom-header-video'; - video.autoplay = 'autoplay'; - video.loop = 'loop'; - video.muted = 'muted'; + video.autoplay = true; + video.loop = true; + video.muted = true; + video.playsInline = true; video.width = this.settings.width; video.height = this.settings.height;