videojs/video.js — pull request #1449 by gkatsev (2014-08-25 22:42:07+00:00)
Title: Ignore null, undefined, and NaN is dimension()

Add vjs.isNaN to have a better cross browser isNaN checker.
Previously, only undefined was ignored, so, it tried setting the
dimension using null and NaN as values. In most browsers this isn't a
problem, but in particular on IE8, things break.
With this PR, all three of those values will be ignored.