diff options
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 1238f9f..7a032d0 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2178,7 +2178,7 @@ var Reveal = (function(){ function loadSlide( slide ) { // Media elements with data-src attributes - toArray( slide.querySelectorAll( 'img[data-src], video[data-src], audio[data-src]' ) ).forEach( function( element ) { + toArray( slide.querySelectorAll( 'img[data-src], video[data-src], audio[data-src], iframe[data-src]' ) ).forEach( function( element ) { element.setAttribute( 'src', element.getAttribute( 'data-src' ) ); element.removeAttribute( 'data-src' ); } ); |