A judge has spoken of the “irony” of violent protesters being caught thanks to videos shared on social media by participants in the disorder in Southampton following the murder of Henry Nowak.