I have a javascript video playlist. Videos are submitted from a different domain, not mine. And recently, I found problems playing some videos. Sometimes I get an error net::ERR_CONTENT_LENGTH_MISMATCH. These videos begin to play, and after 2-3 seconds they stop by themselves. Then they begin to play after 1-4 minutes. This behavior has only a few videos. Is there any way to check this error before playing the video? I want to skip the video if an error is detected and play the next one.
source
share