Hi GianlucaGuarini,
I think only **error** listener is not enough for audio/video. I tried the error listener and failed to track the issues all the time. But checking  network status of the files tells the exact state of the file. If the file is failed to load, it shows the networkState 3.