aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index c71b67d..8655f51 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1462,7 +1462,7 @@
* target element.
*
* remaining height = [ configured parent height ] - [ current parent height ]
- *
+ *
* @param {HTMLElement} element
* @param {number} [height]
*/
@@ -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', '' );