[wp-trac] [WordPress Trac] #25204: youtube embed video wrong dimensions

WordPress Trac noreply at wordpress.org
Sun Sep 1 12:47:29 UTC 2013


#25204: youtube embed video wrong dimensions
--------------------------+------------------------------
 Reporter:  Alexufo       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Confirmed. These are the parameters sent to YouTube using Twenty Fourteen:
 {{{
 array( 'width' => 474, 'height' => 711, 'discover' => false )
 }}}
 This what we get back from YouTube:
 {{{
 <iframe width="474" height="356"
 src="http://www.youtube.com/embed/5EayDPIjp40?feature=oembed"
 frameborder="0" allowfullscreen></iframe>
 }}}
 The correct height for a 16:9 video would be 266px here, but this looks
 like a YouTube issue.

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


More information about the wp-trac mailing list