davatron5000/FitVids.js — Issue #26: IE9 errors
Author: davatron5000
Created: 2011-12-13 15:15:24+00:00
State: open

Posted in a comment on my blog. My IE9 test environment is totally bjorked.

Causes bizarre errors for me in IE9 when using youtube's iframe embeds (though it really looks like a problem with their code, not fitvids directly). Claims "Math is not defined." May have something to do with the floating point dimensions and YT's iframe resize code.

Here's a fiddle:
http://jsfiddle.net/YnFsn/

Looking into it, but you may have more insight. Works like a charm with all other browsers: brilliant stuff.