Modified a check to see if video duration is nil or not