Added video time tracking.

Use a `setInterval` instead of a `setTimeout`. It's meant too be used in situations just like this one where we want to do something at a set interval.

It you really want to get optimizing look into the requestAnimationFrame API that will drop calls if the CPU is too busy.