John Barrowman and husband Scott Gill
John Barrowman and husband Scott Gill Facebook/JohnBarrowmanOfficial

“Arrow” star John Barrowman has accidentally shown his husband’s penis on Facebook. The British-American actor, who is known for his role as Captain Jack Harkness in “Doctor Who” and “Torchwood,” was talking to his fans via Facebook Live stream when Scott Gill inadvertently walked into the frame nude.

See the NSFW video on Barrowman’s Facebook page.

The 49-year-old actor soaking in a hot tub as he was chatting with thousands of his Facebook fans via Facebook’s live video chat about the windy weather in Palm Springs, California, when a completely naked Gill appeared. Gill was not aware that Barrowman was filming live.

“Oh Scott! Oh my God! I’m on live video,” the actor exclaimed when he noticed Gill in the background, panning his device away from them briefly. “Everyone probably just saw you naked!”

Everyone did, or at least some of his 1.1 million followers on Facebook. Barrowman’s fans were amused, though, commending Gill for his blasé attitude.

“The ratings just went up,” a fan joked.

“I like how you were like, ‘Four thousand people just saw your d---.’ And he’s just like, ‘Whatevs. Jungle Book was good,’” one fan added.

Gill indeed talked about seeing and liking the film “The Jungle Book.” He seemed unaffected about the commotion he accidentally caused on the social media site.

For his part, Barrowman did not appear sorry about the incident, posting another video feed on Facebook to address it.

“Well, I wonder what the fuss is all about. Yep, you saw it. Now you know why we big boys stick together,” Barrowman quipped, sending his fans a playful wink. “Scott accidentally bared it all on Facebook and online. So there you go, world, now you’ve seen it,” he added, laughing.

In another video, he told his fans that he wasn’t embarrassed in the slightest despite a few not-so-positive comments about the accidental nude show. He told fans to celebrate the human form, no matter what shape or size they are.

Barrowman and Gill met on the production of “Rope” in 1993. They entered into a civil partnership in 2006 and were legally married in California in 2013.