Small fixes to insertVideo