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

WordPress Trac noreply at wordpress.org
Sun Mar 9 01:00:55 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:"27476"]:
 {{{
 #!CommitTicketReference repository="" revision="27476"
 Audio/Video shortcodes in the media modal:

 * Add `embedMimes` to `_wpMediaViewsL10n`
 * Use `escape` instead of `interpolate` when setting attributes in
 Underscore templates
 * When creating the `<audio>` and `<video>` tags dynamically, set inner
 `<source>` nodes instead of the `src` attribute and properly set the mime-
 type per source as the `type` attribute. This is also drastically reduces
 the amount of code used to generate the tags.

 See #27016.
 }}}

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


More information about the wp-trac mailing list