Ticket #31058: 31058.document-fragment.patch
File 31058.document-fragment.patch, 1.2 KB (added by , 10 years ago) |
---|
-
src/wp-includes/js/media/grid.js
1993 1993 wp.media.mixin.removeAllPlayers(); 1994 1994 this.$( 'audio, video' ).each( function (i, elem) { 1995 1995 var el = MediaDetails.prepareSrc( elem ); 1996 new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings ); 1996 setTimeout( function() { 1997 new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings ); 1998 }, 1 ); 1997 1999 } ); 1998 2000 } 1999 2001 }); -
src/wp-includes/js/media/views/attachment/details-two-column.js
32 32 wp.media.mixin.removeAllPlayers(); 33 33 this.$( 'audio, video' ).each( function (i, elem) { 34 34 var el = MediaDetails.prepareSrc( elem ); 35 new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings ); 35 setTimeout( function() { 36 new window.MediaElementPlayer( el, wp.media.mixin.mejsSettings ); 37 }, 1 ); 36 38 } ); 37 39 } 38 40 });