[wp-trac] [WordPress Trac] #24456: Make audio/video shortcodes consistent with embed

WordPress Trac noreply at wordpress.org
Thu May 30 17:47:54 UTC 2013


#24456: Make audio/video shortcodes consistent with embed
---------------------------+------------------
 Reporter:  aaroncampbell  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Media          |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+------------------

Comment (by wonderboymusic):

 one caveat here - for video, if you want to add subtitles (which we don't
 support yet - MediaElement does), the body of the shortcode might be a
 good place to put it:

 `<track kind="subtitles" src="subtitles.srt" srclang="en" />`

 Otherwise, HTML frags will have to be passed to the shortcode as
 attributes. Granted, one could filter `'wp_mediaelement_fallback'`, but
 that sounds super ghetto

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


More information about the wp-trac mailing list