My understanding is isFinite(0) returns true. That is not the intention of the code I assume.

Where does ".43" come from? Is there a reason we want to change the amount we skip ahead to get a thumnail? Was there a problem skipping ahead 10%?