Lines Matching refs:el

1546 …dom.controlsLeft.forEach( function( el ) { el.addEventListener( eventName, onNavigateLeftClicked, …  argument
1547 …dom.controlsRight.forEach( function( el ) { el.addEventListener( eventName, onNavigateRightClicked… argument
1548 …dom.controlsUp.forEach( function( el ) { el.addEventListener( eventName, onNavigateUpClicked, fals… argument
1549 …dom.controlsDown.forEach( function( el ) { el.addEventListener( eventName, onNavigateDownClicked, … argument
1550 …dom.controlsPrev.forEach( function( el ) { el.addEventListener( eventName, onNavigatePrevClicked, … argument
1551 …dom.controlsNext.forEach( function( el ) { el.addEventListener( eventName, onNavigateNextClicked, … argument
1587 …dom.controlsLeft.forEach( function( el ) { el.removeEventListener( eventName, onNavigateLeftClicke… argument
1588 …dom.controlsRight.forEach( function( el ) { el.removeEventListener( eventName, onNavigateRightClic… argument
1589 …dom.controlsUp.forEach( function( el ) { el.removeEventListener( eventName, onNavigateUpClicked, f… argument
1590 …dom.controlsDown.forEach( function( el ) { el.removeEventListener( eventName, onNavigateDownClicke… argument
1591 …dom.controlsPrev.forEach( function( el ) { el.removeEventListener( eventName, onNavigatePrevClicke… argument
1592 …dom.controlsNext.forEach( function( el ) { el.removeEventListener( eventName, onNavigateNextClicke… argument
3541 …if( routes.left ) dom.controlsLeft.forEach( function( el ) { el.classList.add( 'enabled' ); el.rem… argument
3542 …if( routes.right ) dom.controlsRight.forEach( function( el ) { el.classList.add( 'enabled' ); el.r… argument
3543 …if( routes.up ) dom.controlsUp.forEach( function( el ) { el.classList.add( 'enabled' ); el.removeA… argument
3544 …if( routes.down ) dom.controlsDown.forEach( function( el ) { el.classList.add( 'enabled' ); el.rem… argument
3547 …left || routes.up ) dom.controlsPrev.forEach( function( el ) { el.classList.add( 'enabled' ); el.r… argument
3548 …ht || routes.down ) dom.controlsNext.forEach( function( el ) { el.classList.add( 'enabled' ); el.r… argument
3554 …ments.prev ) dom.controlsPrev.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' … argument
3555 …ments.next ) dom.controlsNext.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' … argument
3560 …agments.prev ) dom.controlsUp.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' … argument
3561 …ments.next ) dom.controlsDown.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' … argument
3564 …ments.prev ) dom.controlsLeft.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' … argument
3565 …ents.next ) dom.controlsRight.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' … argument
4021 ….querySelectorAll( 'iframe['+ sourceAttribute +'*="'+ sourceURL +'"]' ) ).forEach( function( el ) { argument
4022 var src = el.getAttribute( sourceAttribute );
4024 el.setAttribute( sourceAttribute, src + ( !/\?/.test( src ) ? '?' : '&' ) + param );
4050 toArray( element.querySelectorAll( 'img[src$=".gif"]' ) ).forEach( function( el ) { argument
4053 el.setAttribute( 'src', el.getAttribute( 'src' ) );
4057 toArray( element.querySelectorAll( 'video, audio' ) ).forEach( function( el ) { argument
4058 if( closestParent( el, '.fragment' ) && !closestParent( el, '.fragment.visible' ) ) {
4068 autoplay = el.hasAttribute( 'data-autoplay' ) || !!closestParent( el, '.slide-background' );
4071 if( autoplay && typeof el.play === 'function' ) {
4074 if( el.readyState > 1 ) {
4075 startEmbeddedMedia( { target: el } );
4080 var promise = el.play();
4084 if( promise && typeof promise.catch === 'function' && el.controls === false ) {
4086 el.controls = true;
4089 el.addEventListener( 'play', function() {
4090 el.controls = false;
4097 el.removeEventListener( 'loadeddata', startEmbeddedMedia ); // remove first to avoid dupes
4098 el.addEventListener( 'loadeddata', startEmbeddedMedia );
4105 toArray( element.querySelectorAll( 'iframe[src]' ) ).forEach( function( el ) { argument
4106 if( closestParent( el, '.fragment' ) && !closestParent( el, '.fragment.visible' ) ) {
4110 startEmbeddedIframe( { target: el } );
4114 toArray( element.querySelectorAll( 'iframe[data-src]' ) ).forEach( function( el ) { argument
4115 if( closestParent( el, '.fragment' ) && !closestParent( el, '.fragment.visible' ) ) {
4119 if( el.getAttribute( 'src' ) !== el.getAttribute( 'data-src' ) ) {
4120 el.removeEventListener( 'load', startEmbeddedIframe ); // remove first to avoid dupes
4121 el.addEventListener( 'load', startEmbeddedIframe );
4122 el.setAttribute( 'src', el.getAttribute( 'data-src' ) );
4210 toArray( element.querySelectorAll( 'video, audio' ) ).forEach( function( el ) { argument
4211 if( !el.hasAttribute( 'data-ignore' ) && typeof el.pause === 'function' ) {
4212 el.setAttribute('data-paused-by-reveal', '');
4213 el.pause();
4218 toArray( element.querySelectorAll( 'iframe' ) ).forEach( function( el ) { argument
4219 if( el.contentWindow ) el.contentWindow.postMessage( 'slide:stop', '*' );
4220 el.removeEventListener( 'load', startEmbeddedIframe );
4224 …toArray( element.querySelectorAll( 'iframe[src*="youtube.com/embed/"]' ) ).forEach( function( el )… argument
4225 …if( !el.hasAttribute( 'data-ignore' ) && el.contentWindow && typeof el.contentWindow.postMessage =…
4226 el.contentWindow.postMessage( '{"event":"command","func":"pauseVideo","args":""}', '*' );
4231 …toArray( element.querySelectorAll( 'iframe[src*="player.vimeo.com/"]' ) ).forEach( function( el ) { argument
4232 …if( !el.hasAttribute( 'data-ignore' ) && el.contentWindow && typeof el.contentWindow.postMessage =…
4233 el.contentWindow.postMessage( '{"method":"pause"}', '*' );
4239 toArray( element.querySelectorAll( 'iframe[data-src]' ) ).forEach( function( el ) { argument
4242 el.setAttribute( 'src', 'about:blank' );
4243 el.removeAttribute( 'src' );
4788 toArray( fragments ).forEach( function( el, i ) { argument
4790 if( el.hasAttribute( 'data-fragment-index' ) ) {
4791 i = parseInt( el.getAttribute( 'data-fragment-index' ), 10 );
4798 if( !el.classList.contains( 'visible' ) ) changedFragments.shown.push( el );
4799 el.classList.add( 'visible' );
4800 el.classList.remove( 'current-fragment' );
4803 dom.statusDiv.textContent = getStatusText( el );
4806 el.classList.add( 'current-fragment' );
4807 startEmbeddedContent( el );
4812 if( el.classList.contains( 'visible' ) ) changedFragments.hidden.push( el );
4813 el.classList.remove( 'visible' );
4814 el.classList.remove( 'current-fragment' );
4963 toArray( currentSlide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) { argument
4964 if( el.hasAttribute( 'data-autoplay' ) ) {
4965 if( autoSlide && (el.duration * 1000 / el.playbackRate ) > autoSlide ) {
4966 autoSlide = ( el.duration * 1000 / el.playbackRate ) + 1000;