Ticket #27645: 27645.patch
File 27645.patch, 1.1 KB (added by , 11 years ago) |
---|
-
wp-includes/js/mediaelement/wp-mediaelement.js
15 15 settings.pluginPath = _wpmejsSettings.pluginPath; 16 16 } 17 17 18 settings.alwaysShowControls = 'true'; 19 18 20 settings.success = function (mejs) { 19 21 var autoplay = mejs.attributes.autoplay && 'false' !== mejs.attributes.autoplay; 20 22 if ( 'flash' === mejs.pluginType && autoplay ) { -
wp-includes/js/mediaelement/wp-playlist.js
30 30 31 31 _.bindAll( this, 'bindPlayer', 'bindResetPlayer', 'setPlayer', 'ended', 'clickTrack' ); 32 32 33 this.settings.alwaysShowControls = 'true'; 34 33 35 if ( ! _.isUndefined( window._wpmejsSettings ) ) { 34 36 this.settings.pluginPath = _wpmejsSettings.pluginPath; 35 37 }