diff --git a/js/reveal.js b/js/reveal.js index c8ce5a2e..6781639c 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -3071,7 +3071,7 @@ if( slide && slide.parentNode ) { // HTML5 media elements toArray( slide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) { - if( !el.hasAttribute( 'data-ignore' ) && typeof el.pause === 'function' ) { + if( !el.hasAttribute( 'data-ignore' ) && typeof el.pause === 'function' && el.paused === false ) { el.setAttribute('data-paused-by-reveal', ''); el.pause(); }