[wp-trac] [WordPress Trac] #28905: Audio/Video MCE views should use iframe sandboxes

WordPress Trac noreply at wordpress.org
Wed Jul 16 19:35:57 UTC 2014


#28905: Audio/Video MCE views should use iframe sandboxes
----------------------------+-------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by wonderboymusic):

 In [changeset:"29194"]:
 {{{
 #!CommitTicketReference repository="" revision="29194"
 Cleanup after [29179]:

 * Remove `wp.media.mixin.pauseAllPlayers()` - was only ever intended to be
 used in MCE views, reaches too far into global scope. Rendered irrelevant
 since [28364].
 * Remove `wp.media.mixin.pausePlayers()` - added in [28364]. MCE views no
 longer keep track of player instances and call mixin methods, they refer
 to their child iframes and call MEjs methods on the iframe's
 `window.mejs.players`.

 See #28905.
 }}}

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


More information about the wp-trac mailing list