In a lengthy video posted on YouTube, a group of men appear to flash guns, smoke marijuana, sell drugs, brag about dog fighting and even say they have a dead dog in the garage of a home in south suburban Harvey.

Harvey police detectives who watched the video recognized several of those men as known gang members.

And that led to a raid of the home on Wednesday that turned up guns, drugs — and the dead dog, according to Sean Howard, a spokesman for the Harvey Police Department.

Three alleged gang members were taken into custody and charges are pending, Howard said.

“There are several people in the 40-minute video with guns and drugs,” Howard said. “The group even sold marijuana to an individual while the video was being recorded. The group boasted of dog fighting and admitted that there was a deceased dog in the garage. The dog died during a fight with another dog.”

Detectives obtained a search warrant for the items shown on the video, and raided the home in 100 block of West 158th Street about 4 a.m., Howard said.

A large amount of marijuana and several guns were confiscated, and the dead dog was found, along with two other “poorly-treated dogs,” Howard said. They also confiscated “a significant amount of a white substance, believed to be cocaine,” which is being analyzed by lab technicians.

Howard said “lead gang member in the video is known as ‘MONK'” and that he was under house arrest at the time of the raid.