In the clip, a man — wearing little more than a CC Sabathia T-shirt — and his companion appear too absorbed in the act to notice the recording device or an onlooker draped over the adjoining stall.

The romp went on from “about the 2nd through the 4th or 5th inning” and attracted a large crowd, including stadium personnel, according to Deadspin’s tipster.

Scott from Berkeley Heights, N.J., told WFAN’s Boomer & Carton show that he was there, and more attention was paid to the restroom hanky panky than the action on the field.

“First of all, I walk in, I just see his pants lying on the ground,” Scott told Boomer Esiason and Craig Carton on Monday morning. “That’s when I realized something was going down. Then you see all the security guards and other fans.

“It was quite a show.”

The alleged gawking stadium employees weren’t on security detail but were equipped with walkie-talkies, according to Deadspin’s tipster. Yankee Stadium personnel eventually called security, but not without “asking me to text them or show them the footage,” the cameraman said.