Changeset 29202
- Timestamp:
- 07/17/2014 12:49:11 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/mce-view.js
r29198 r29202 133 133 allowTransparency: 'true', 134 134 scrolling: 'no', 135 'class': 'wpview-sandbox', 135 136 style: { 136 137 width: '100%', … … 555 556 pausePlayers: function() { 556 557 this.getNodes( function( editor, node, content ) { 557 var p, win = $( 'iframe', content ).get(0).contentWindow; 558 559 if ( win && win.mejs ) { 558 var p, win, 559 iframe = $( 'iframe.wpview-sandbox', content ).get(0); 560 561 if ( iframe && ( win = iframe.contentWindow ) && win.mejs ) { 560 562 for ( p in win.mejs.players ) { 561 563 win.mejs.players[p].pause(); … … 567 569 unsetPlayers: function() { 568 570 this.getNodes( function( editor, node, content ) { 569 var p, win = $( 'iframe', content ).get(0).contentWindow; 570 571 if ( win && win.mejs ) { 571 var p, win, 572 iframe = $( 'iframe.wpview-sandbox', content ).get(0); 573 574 if ( iframe && ( win = iframe.contentWindow ) && win.mejs ) { 572 575 for ( p in win.mejs.players ) { 573 576 win.mejs.players[p].remove();
Note: See TracChangeset
for help on using the changeset viewer.