579 | | var p, win = $( 'iframe', this.node ).get(0).contentWindow; |
580 | | if ( win && win.mejs ) { |
581 | | for ( p in win.mejs.players ) { |
582 | | win.mejs.players[p].pause(); |
| 577 | this.getNodes( function( editor, node ) { |
| 578 | var p, win = $( 'iframe', node ).get(0).contentWindow; |
| 579 | |
| 580 | if ( win && win.mejs ) { |
| 581 | for ( p in win.mejs.players ) { |
| 582 | win.mejs.players[p].pause(); |
| 583 | } |
588 | | var p, win = $( 'iframe', this.node ).get(0).contentWindow; |
589 | | if ( win && win.mejs ) { |
590 | | for ( p in win.mejs.players ) { |
591 | | win.mejs.players[p].remove(); |
| 589 | this.getNodes( function( editor, node ) { |
| 590 | var p, win = $( 'iframe', node ).get(0).contentWindow; |
| 591 | |
| 592 | if ( win && win.mejs ) { |
| 593 | for ( p in win.mejs.players ) { |
| 594 | win.mejs.players[p].remove(); |
| 595 | } |