Looks like the mantis was partially paralyzed by a hornet sting to me. The article noted that insects engage in nociception with examples, that specific mantis wasn't in that case, but that's certainly not a thing you can generalize from a single Youtube video.
https://www.youtube.com/watch?v=L3Hq7zTb1J4