johndyer/mediaelement — pull request #690 by JeffreyATW (2012-12-13 22:44:54+00:00)
Title: max-width check doesn't work in IE

The video player resizing functionality doesn't work in IE because its implementation of getComputedStyle (correctly) returns a pixel measurement instead of a percentage, hence the check for "%" returns false.

This fix will check to see if currentStyle exists on DOM elements, and queries them to find possible percentages.