fix npe
This commit is contained in:
parent
ef333300a2
commit
7e8fd09376
@ -2618,7 +2618,7 @@
|
||||
*/
|
||||
function stopEmbeddedContent( slide ) {
|
||||
|
||||
if( slide ) {
|
||||
if( slide && slide.parentNode ) {
|
||||
// HTML5 media elements
|
||||
toArray( slide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) {
|
||||
if( !el.hasAttribute( 'data-ignore' ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user