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

WordPress Trac noreply at wordpress.org
Wed Mar 20 20:50:15 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):

 Replying to [comment:65 wonderboymusic]:
 > Replying to [comment:63 obenland]:
 > > * 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."
 > That MP3 worked for me...

 It did work for me too, the warning would still be displayed though :)

 [[BR]]

 > yeah... `get_post_videos()` would make sense there but not
 `get_post_audios()`

 Having one plural and the other one indistinguishable would be even more
 confusing I suppose. Maybe `get_post_media( 'audio', $args );` ''without''
 wrapper functions is not the worst of ideas?

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


More information about the wp-trac mailing list