A 14-year-old boy appears in court charged over an alleged attack on a 13-year-old boy which was filmed and shared on social media.