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

WordPress Trac noreply at wordpress.org
Fri Mar 14 12:19:42 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:"27533"]:
 {{{
 #!CommitTicketReference repository="" revision="27533"
 When rendering Underscore templates for Audio/Video details, use 2 new PHP
 functions to render the markup for audio and video tags:
 `wp_underscore_audio_template()` and `wp_underscore_video_template()`.

 Future JS templates can follow the convention of expecting `data` to be
 passed to them containing a `model` property.

 See #27389.
 }}}

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


More information about the wp-trac mailing list