title: Detect aspect ratio - HTML5 video
body: <p>Is it possible to detect the aspect ratio of an HTML5 video element?</p>
  
  <p>I know the video will just shrink to fit in the <code>&lt;video&gt;</code> element's dimensions, but I want to detect the aspect ratio of the source video.</p>
  
  <p>That way you could remove any black bars.</p>
  
  <p>Sorry I don't see this answered anywhere else.</p>