[wp-trac] [WordPress Trac] #26825: Add ability to generate metadata for audio / video files on-demand

WordPress Trac noreply at wordpress.org
Tue Jan 14 23:50:47 UTC 2014


#26825: Add ability to generate metadata for audio / video files on-demand
------------------------------------+------------------
 Reporter:  wonderboymusic          |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.9
Component:  Media                   |     Version:  3.6
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by bradyvercher):

 Nice. Instead of adding UI for this, is there any reason it shouldn't be
 generated automatically if the metadata key doesn't exist? It could be
 generated just by visiting the attachment edit screen and in
 `wp_prepare_attachment_for_js()`.

 The only thing that might be an issue is if the data can't be generated
 for some reason, doing it this way might cause
 `wp_generate_attachment_metadata()` to be run more than necessary, so
 maybe a flag would need to be set if automatically generating the metadata
 fails?

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


More information about the wp-trac mailing list