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

WordPress Trac noreply at wordpress.org
Fri Mar 14 13:16:08 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:"27537"]:
 {{{
 #!CommitTicketReference repository="" revision="27537"
 Rather than extending `wp.media.mixin`, only borrow `coerce` when
 necessary in `wp.media.audio|video|collection`. `wp.media.mixin` will make
 sense to be mixed in for classes that expect to interact with the player.
 More universal methods can be added and inherited by all those who extend
 their prototype with it.

 Assuming someone had implemented players in the editor, pause all players
 when switching between editor tabs. A method, `pauseAllPlayers`, has been
 added to `wp.media.mixin`.

 See #27389.
 }}}

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


More information about the wp-trac mailing list