[wp-trac] [WordPress Trac] #27016: Make placeholders/MCE views for Audio/Video shortcodes

WordPress Trac noreply at wordpress.org
Fri Mar 7 05:51:27 UTC 2014


#27016: Make placeholders/MCE views for Audio/Video shortcodes
----------------------------+-------------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  3.6
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript
----------------------------+-------------------------

Comment (by wonderboymusic):

 In [changeset:"27450"]:
 {{{
 #!CommitTicketReference repository="" revision="27450"
 Support the `autoplay` attribute, even when the plugin type for a
 MediaElement instance is Flash. In the media modal,
 `wp.media.view.VideoDetails` and `wp.media.view.AudioDetails` now extend a
 unified `wp.media.view.MediaDetails` class which contains all of the
 player creation and destruction logic. The `remove()` method mimics the
 `mejs.MediaElementPlayer.remove()` method, but does not re-add the
 audio/video tag to the DOM. The MEjs method is especially problematic when
 the tag has `autoplay="true"` and the view has been detached but not
 destroyed.

 Fixes #25077.
 See #27016.
 }}}

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


More information about the wp-trac mailing list