The Philadelphia Eagles offered to host the remaining 17 minutes of a high school football game after it was interrupted last week by a shooting that left three wounded, a New Jersey athletic association announced on Monday.

The shooting, which was captured on video by local news media, occurred on Friday during the third quarter of a playoff game hosted by Pleasantville High School — just outside of Atlantic City, N.J. — against Camden High School.

Five men were charged on Saturday in connection with the shooting, according to the authorities.

“It’s extremely unfortunate that a senselessly violent act has impacted this game, and there will certainly be a wide range of emotions along both sidelines,” Larry White, the executive director of the New Jersey State Interscholastic Athletic Association, said in a statement.

The game, which is scheduled for Wednesday afternoon, will be closed to the public but streamed live on NJ.com for free, according to the athletic association. The high school players will be allowed to invite a limited number of family members to watch at Lincoln Financial Field in Philadelphia, which is about 50 miles from Pleasantville High School.