title: Youtube oembed: How does it calculate the 'width' and 'height' values?
body: <p>When I use the oembed URL in my PHP code and extract the <code>$video-&gt;width</code> and <code>$video-&gt;height</code> from my uploaded video, I get values back that don't match anything I've seen associated with my Youtube video.</p>
  
  <ul>
  <li><p><a href="http://youtu.be/p7ftPYU2_0w" rel="noreferrer">http://youtu.be/p7ftPYU2_0w</a></p></li>
  <li><p>Original video dimensions, as uploaded to Youtube: <strong>640 x 336</strong></p></li>
  <li><p>oembed returns: <strong>480 x 270</strong></p></li>
  <li><p>Smallest embed option when sharing from Youtube page UI: <strong>560 x 316</strong></p></li>
  </ul>
  
  <p>Does anyone know where oembed gets these values? Why does it default to 480? Is there a way to get the true video dimensions, or least bump the default up to 640 x <code>[proportional_height]</code>?</p>
  
  <p>My goal is to preserve the native dimensions of the video (no scaling) when embedding on my website, <em>without</em> users actually needing to key-in the video dimensions again.</p>