[wp-trac] [WordPress Trac] #34152: Several audio players on the same page get their controls mixed up

WordPress Trac noreply at wordpress.org
Wed Jan 20 15:47:03 UTC 2016


#34152: Several audio players on the same page get their controls mixed up
--------------------------+-----------------------------
 Reporter:  Fab1en        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.5
Component:  Media         |     Version:  4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36364"]:
 {{{
 #!CommitTicketReference repository="" revision="36364"
 Media: When reusing the initial values from the global MediaElement config
 object, the config object should first be cloned. Objects in JS are
 references that will retain any changes. This fixes an issue where player
 controls could get mixed up between instances when multiple players
 (namely, single audio and audio playlists, in a certain order) are on the
 same page.

 Props Fab1en.
 Fixes #34152.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34152#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list