The testimony of witnesses may be taken in four modes: (1) By affidavit; (2) by deposition; (3) by oral examination; and (4) by videotape of an examination conducted prior to the time of trial for use at trial in accordance with procedures provided by law.