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

WordPress Trac noreply at wordpress.org
Fri Jul 12 22:22:25 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 DrewAPicture):

 Maybe I'm missing something here, but I had the impression the issue is
 partly a) trying to serve responsive videos and partly b) the video
 loading with the correct dimensions only to have Mediaelement override
 with inline styles. Followed by, of course, clicking play and the video
 loading at max-width which in some cases ends with a vertical video
 getting '''scaled up''' to fit that width.

 So I'm not sure what all of this about positioning and 90 degree
 transforms has to do with it.

 Mediaelement is:

 1) overriding the dimensions to fit max-width of the container
 2) Loading the start screen at a dimensional ratio consistent with max-
 width, e.g. 604px wide in Twenty Thirteen with a landscape-equivalent
 height:width ratio regardless of what the actual dimensions are.

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


More information about the wp-trac mailing list