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

WordPress Trac noreply at wordpress.org
Sat Feb 23 19:23:49 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:  2nd-opinion      |
-----------------------------+--------------------
Changes (by hchouhan):

 * keywords:  has-patch => 2nd-opinion
 * version:   => trunk


Comment:

 Replying to [comment:32 wonderboymusic]:
 > Alex, you are correct :) I have now added embed handlers for audio and
 video in attachment:23282.8.diff - now, if you just leave a
 *.(mp3|ogg|wma) or *.(mp4|webm|ogv|wma|flv) URL on a line by itself, it
 will magically appear as a player. #boom

 You said now directly adding the link works. However like some themes,
 would it not be easy for anyone to have different fields where they could
 enter the URL of the file based on its format?
 Shortcode is great, but I find many people getting confused.

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


More information about the wp-trac mailing list