[wp-trac] [WordPress Trac] #23572: Add functions to parse Audio / Video data out of arbitrary content or a post

WordPress Trac noreply at wordpress.org
Mon Mar 25 21:56:19 UTC 2013


#23572: Add functions to parse Audio / Video data out of arbitrary content or a
post
----------------------------------------+------------------
 Reporter:  wonderboymusic              |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  3.6
Component:  Post Formats                |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |
----------------------------------------+------------------

Comment (by obenland):

 Looking at
 [http://core.trac.wordpress.org/attachment/ticket/23620/23620.4.diff
 Lance's patch] for 2013 there is two more things that come to mind for me:

 1. You probably talked about this earlier, but I think it would be
 beneficial to have template tags a la `the_video()` as a single point of
 reference for themes. Apparently there are up to four ways to find a video
 - we should leave it to themes to come up with an abstraction layer.
 1. It's a pain in the butt to remove a `[video]` shortcode from the post's
 content through `get_content_media()`. Can we come up with a (default) way
 to remove it so that it is removed from `the_content()`?

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


More information about the wp-trac mailing list