Allow setting of currentTime and duration callback.