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

WordPress Trac noreply at wordpress.org
Tue Mar 19 23:17:14 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:                   |
-----------------------------+--------------------

Comment (by obenland):

 Testing the audio shortcode for 2013 I noticed that:

 * my .m4a file was passed to the shortcode as `mp3="path/to/file.m4a"`,
 thus failing the filetype check in the audio shortcode.
 * I'd always get the following JS warning: "Specified "type" attribute of
 "audio/mpeg" is not supported. Load of media resource
 http://wpthemetestdata.files.wordpress.com/2008/06
 /originaldixielandjazzbandwithalbernard-stlouisblues.mp3 failed." and "All
 candidate resources failed to load. Media load paused."
 * for some reason the container div (.wp-audio-shortcode) has it's height
 set to 34px (width: 454px) in 2013's audio post format (it should be
 30px). It has the correct height and in standard post formats (width:
 400px). Where can I find the code that deals with that?

 It's a nit pick, but based on the singular in the function name, I didn't
 expect more than one result from `get_post_audio|video()`.

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


More information about the wp-trac mailing list