[wp-trac] [WordPress Trac] #23282: Add shortcodes for inline HTML5 audio / video

WordPress Trac noreply at wordpress.org
Fri Mar 15 17:21:45 UTC 2013


#23282: Add shortcodes for inline HTML5 audio / video
-----------------------------+--------------------
 Reporter:  wonderboymusic   |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  3.6
Component:  Media            |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by wonderboymusic):

 well, seems like the functions would still exist, would just wrap the
 generic function:
 {{{
 function get_post_audio( $args ) {
     return get_post_media( 'audio', $args );
 }
 }}}
 Because at that point, images are media, and they could be converted as
 well. Might be better to wait until the patches land, and then do a new
 ticket which can applied against all of them - because right now, none of
 them are tightly-coupled, they can be applied separately. So, you would
 have to put the optimized code in every ticket.

 I still think image/audio/video need their own APIs, but I get your gist.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23282#comment:51>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list