CCTV played to a court shows a schoolboy crying and bleeding shortly after he was allegedly set upon by a group armed with a metal pole.