[wp-trac] [WordPress Trac] #26628: Use the content of a video shortcode when provided

WordPress Trac noreply at wordpress.org
Sat Dec 14 21:54:50 UTC 2013


#26628: Use the content of a video shortcode when provided
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Media           |     Version:  3.6
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by wonderboymusic):

 Example usage:
 {{{
 [video width="640" height="360" mp4="http://wordpress-core-develop/wp-
 content/uploads/2013/12/XVMwB.mp4"]
 <!-- WebM/VP8 for Firefox4, Opera, and Chrome -->
 <source type="video/webm" src="myvideo.webm" />
 <!-- Ogg/Vorbis for older Firefox and Opera versions -->
 <source type="video/ogg" src="myvideo.ogv" />
 <!-- Optional: Add subtitles for each language -->
 <track kind="subtitles" src="subtitles.srt" srclang="en" />
 <!-- Optional: Add chapters -->
 <track kind="chapters" src="chapters.srt" srclang="en" />
 [/video]
 }}}

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


More information about the wp-trac mailing list