#1770, fixed function name.

This commit is contained in:
Markku Roponen 2016-12-12 16:41:52 +02:00
parent 6831f6c174
commit 54bfad62d7

View file

@ -3072,7 +3072,7 @@
// HTML5 media elements
toArray( slide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) {
if( !el.hasAttribute( 'data-ignore' ) && typeof el.pause === 'function' ) {
el.addAttribute('data-paused-by-reveal');
el.setAttribute('data-paused-by-reveal');
el.pause();
}
} );