diff --git a/src/wp-includes/js/mediaelement/wp-mediaelement.js b/src/wp-includes/js/mediaelement/wp-mediaelement.js
index fe47d2f..75e6b8e 100644
a
|
b
|
|
20 | 20 | */ |
21 | 21 | function initialize() { |
22 | 22 | if ( typeof _wpmejsSettings !== 'undefined' ) { |
23 | | settings = _wpmejsSettings; |
| 23 | settings = $.extend(true, {}, _wpmejsSettings ); |
24 | 24 | } |
25 | 25 | |
26 | 26 | settings.success = settings.success || function (mejs) { |
diff --git a/src/wp-includes/js/mediaelement/wp-playlist.js b/src/wp-includes/js/mediaelement/wp-playlist.js
index 90839a5..fc21d82 100644
a
|
b
|
|
31 | 31 | _.bindAll( this, 'bindPlayer', 'bindResetPlayer', 'setPlayer', 'ended', 'clickTrack' ); |
32 | 32 | |
33 | 33 | if ( ! _.isUndefined( window._wpmejsSettings ) ) { |
34 | | this.settings = _wpmejsSettings; |
| 34 | this.settings = _.clone(_wpmejsSettings); |
35 | 35 | } |
36 | 36 | this.settings.success = this.bindPlayer; |
37 | 37 | this.setPlayer(); |
… |
… |
|
172 | 172 | |
173 | 173 | window.WPPlaylistView = WPPlaylistView; |
174 | 174 | |
175 | | }(jQuery, _, Backbone)); |
176 | | No newline at end of file |
| 175 | }(jQuery, _, Backbone)); |