[wp-trac] [WordPress Trac] #24134: Video Shortcode ignores sizes and aspect ratio

WordPress Trac noreply at wordpress.org
Tue Jul 23 18:52:54 UTC 2013


#24134: Video Shortcode ignores sizes and aspect ratio
--------------------------+--------------------
 Reporter:  Ipstenu       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------

Comment (by markjaquith):

 [attachment: 24134.3.diff] Fixes this issue '''AND''' #24798 by defaulting
 `preload` to `metadata` for videos.

 Additionally:

 * `$attr` passed through the filter is an actual key/value array instead
 of an array of `attr="val"` strings.
 * Respects `preload`, `autoplay`, `loop`, through the shortcode (both
 audio and video).
 * Includes Kovshenin's div wrapper to fix the responsiveness bug.

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


More information about the wp-trac mailing list