Because of the wonderful world in which we live, we get to learn about certain unhappy terms and practices, one of which is the concept of “collective punishment.” As a matter of war, collective punishment is a war crime. The idea is that a belligerent force cannot punish an entire population or group merely for the actions committed by a member or associate of that group. For a real world example, see: Gaza.
Now, spicy headlines aside, YouTube has not committed an actual war crime. However...