diff --git a/js/lib/PlayerDetect.js b/js/lib/PlayerDetect.js index a503648..99034db 100644 --- a/js/lib/PlayerDetect.js +++ b/js/lib/PlayerDetect.js @@ -41,17 +41,21 @@ var _pd_getPlayerDimensions = function(element){ return; } - var playerCandidateNode = element; + + try{ var trustCandidateAfterGrows = 2; // if candidate_width or candidate_height increases in either dimensions this many // times, we say we found our player. (This number ignores weird elements) // in case our