Creating Intrinsic Ratios for Video

by Thierry Koblentz

24 Reader Comments

Back to the Article
  1. Brilliant workaround. Thanks for ensuring the code validates properly too – I’ve had some nasty experiences with the object tag in the past.

    Copy & paste the code below to embed this comment.
  2. Your article is well thought out and extremely well written. Clearly you know your CSS. But Flash is incompatible with iPhone. How do I get other video on iPhone?

    Copy & paste the code below to embed this comment.
  3. Very useful article even two and a half years later. 

    I’m using your technique (as closely as I can) to post video on my blog.  It is working for all current browsers EXCEPT IE9.  I have spent hours unsuccessfully trying to figure this out.  An example can be found here:

    http://blog.tlinn.com/2011/09/rogue-river/

    I don’t have any conditional statements in the <object> code; don’t know where to put them.  But the video plays fine when the <div class=“video-wrapper”> and <div class=“video-container”> are removed.  Any thoughts?  Thanks.

    Copy & paste the code below to embed this comment.
  4. Very useful article… Thank so much Thierry…

    May I translate this article into Indonesian?

    Copy & paste the code below to embed this comment.