Spanish authorities say they believe the suspect appeared on a videotape claiming that al-Qaida had carried out the attacks on four Madrid commuter trains , which also wounded about 1,900 people .