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

WordPress Trac noreply at wordpress.org
Wed Mar 19 07:01:57 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:"27615"]:
 {{{
 #!CommitTicketReference repository="" revision="27615"
 Add MCE views for audio and video shortcodes. When the shortcode does not
 contain a source that supports native playback, just show the filename.

 * Remove the audio/video shortcode parsing from the `wpgallery` plugin.
 * Make `mce-view` a dependency of `media-audiovideo`
 * Introduce `wp.mce.video`, `wp.mce.audio`, `wp.mce.media`, and
 `wp.mce.media.View`
 * Rename `wp.media.audio|video.shortcode()` to
 `wp.media.audio|video.update()` since it is called on Update and returns a
 `wp.shortcode` object now.
 * In `wp.mce.View.render()`, fire a `ready` event when the placeholder is
 being parsed and pass the current node to the event handler.

 See #27389, #27437.
 }}}

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


More information about the wp-trac mailing list