stop playing media inside of fragments when the fragment is hidden
parent
444d127053
commit
6d735ddaf8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -235,6 +235,7 @@ export default class Fragments {
|
|||
el.classList.remove( 'current-fragment' );
|
||||
|
||||
if( wasVisible ) {
|
||||
this.Reveal.slideContent.stopEmbeddedContent( el );
|
||||
changedFragments.hidden.push( el );
|
||||
this.Reveal.dispatchEvent({
|
||||
target: el,
|
||||
|
|
Loading…
Reference in New Issue