davatron5000/FitVids.js — pull request #18 by jeremyharris (2011-11-09 16:38:13+00:00)
Title: Support for double embed method

This adds support for embedding `object` twice for standards compliance (i.e., http://code.google.com/p/swfobject/wiki/documentation), while before it would add the wrapper twice which resulted in an incorrect ratio.

Note: it doesn't fix the problems in IE7 (which I'm still looking into), but it does apply fitVids to IE7's object.