mirror of
https://github.com/videojs/video.js.git
synced 2025-03-05 15:16:06 +02:00
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.