Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is there a word for playgoers' behavior when hissing and booing the villain?
The crowd as a whole, or members of it, could be razzing or heckling.
Some people in the crowd might be a little more obnoxious than others and engage in badgering or taunting, although those are generally more appropriate for a one-on-one situation.
You can use jeer, catcall, heckle, or hoot.
Required, but never shown