A deposition is a written declaration under oath or a videotape taken under oath in accordance with procedures provided by law, made upon notice to the adverse party for the purpose of enabling him to attend and cross-examine, or made upon written interrogatories.