[wp-trac] [WordPress Trac] #27389: MCE Views for Audio/Video

WordPress Trac noreply at wordpress.org
Fri Mar 14 13:47:26 UTC 2014


#27389: MCE Views for Audio/Video
----------------------------+-------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by wonderboymusic):

 In [changeset:"27538"]:
 {{{
 #!CommitTicketReference repository="" revision="27538"
 Move `removePlayer()` and `unsetPlayer()` to `wp.media.mixin` so that
 other classes can take advantage of them.

 * `removePlayer()` is an alternative to MediaElement's player removal
 method that does not re-add the audio|video element back to the DOM.
 * `unsetPlayer()` will check for an existing `player` property on the
 passed instance and pause all players before calling `unsetPlayer()`

 See #27389.
 }}}

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


More information about the wp-trac mailing list