West Yorkshire police have arrested four men, aged 13, 15, 16 and 17, from Eccleshill and Shipley, on suspicion of violent disorder and conspiracy to commit violent disorder.
They were all released on bail and police enquiries continue.
This is the moment Simon Clarke, 44, was attacked outside his home on New Year's Day by a gang of up to 35.
Clarke, a support worker from Baildon, West Yorkshire, was punched and kicked in the head and struck with a golf club and baseball bats after confronting five teenagers who were milling around outside his home.
The whole incident was captured on eight CCTV cameras Clarke had placed outside his house due to previous trouble.
Dressed in his pyjamas without wearing shoes, Clarke walked outside and was attacked by the five men and a much larger group who were waiting nearby. Clarke estimated the attackers were aged between 16 and 20.
He claimed one attacker said "I am going to kill you" and "Get back in your house while you still can".
He told the Guzelian news agency: "I was laid on the bed upstairs as I wasn't feeling too well, when I heard a noise outside. I looked at the CCTV and saw five lads chucking stones at a van. I thought I could go outside and just scare them away. I didn't even put my shoes on as I thought they would just run as soon as I got their attention.
"But then I saw more of them come from around the other side of the van and these ones looked older and were carrying baseball bats and golf clubs. If I had known there was that many, I would never have gone out.
"The next thing I knew they were all coming near me and one told me he was going to kill me. While I was watching him, another one blindsided me and then they all joined in.
"The lad with the baseball bat hit me about three times on the back and when I was on the floor there was a constant rain of kicks and punches from the gang members – they were shouting 'die, you bastard!'"
Clarke required stitches and gluing at Bradford Royal Infirmary. His brother, George, 50, came to his aid and was also attacked.
Clarke uploaded the footage to his Facebook account, where it has been viewed more than 500,000 times.
West Yorkshire police attended the scene after the attackers had fled and are appealing for witnesses or anyone with information about the attack to come forward.
Clarke is one of the many Britons who monitor their homes with CCTV cameras, which have become an affordable way to gather evidence in the case of any wrongdoing.
The Home Office's surveillance camera commissioner, Tony Porter, warned in 2014 that domestic CCTV, which can cost as little as £100 to install, had caused an increase in complaints to various public bodies. Many complaints concern neighbours who feel their privacy has been violated.
The commissioner said in his 2014-15 annual report last year that complaints had reduced since a ruling made domestic CCTV footage subject to the Data Protection Act. But he warned: "This is an area I anticipate will continue to cause concern for those affected by it and I will continue to offer guidance whenever necessary."
Patrick Smith is a senior reporter for BuzzFeed News and is based in London.
Contact Patrick Smith at firstname.lastname@example.org.
Got a confidential tip? Submit it here.