toddmotto/fluidvids — pull request #10 by dpidan (2013-10-28 16:05:49+00:00)
Title: fixed video dimension issue

Issue: some embedded videos did not have a height/width property, so the video ratio became NaN. The result was a 0 height video container. I added a fallback to offsetHeight/offsetWidth, which seemed to do the trick.
(Sorry about the whitespace issues in my commit, didn't notice them until pushing)