The world would not have known about the sex tape Tori Spelling and husband Dean McDermot had made on Valentine’s Day in 2009 had the actress not “spelled” it out for us.

The former Beverly Hills 90210 star revealed that a friend stole the homemade video, featuring her intimate, racy moments with the father of her four kids.

In her very candid new book, Spelling It Like It Is, the star disclosed that it was her husband’s idea to film the skin flick.

'Dean said, "We should tape ourselves having sex," the 40-year-old actress said in her book, according to Mail Online, before adding, 'He had a little portable tripod, and he set up his video camera on it.”

The sex tape was made for their private viewing, Spelling recalled. She then recounted how she agreed to save it to the couple’s home computer for their own use.

“Afterward, I checked my angles and they were good so I allowed him to keep it. He uploaded it to our computer at home… without password protection,” Spelling added, said Mail Online.

Without providing so many details on how they were violated, Spelling then continued explaining how the tape was stolen by their so-called friend. The mother of four described the unidentified “friend” as McDermott’s “biker” pal, who somehow got hold of the video tape and made a copy of the racy moment two years after it was made.

She went on describing how horrified she was to find out that the man who stole the sex tape had attempted to sell the video for the “right price.” Spelling noted the legal steps she and husband took to ensure the video would not be made public.

The actress then said, the man never responded: 'We never heard from him again, and the incident went away.”

Tori Spelling and Dean McDermott got married in 2006.The celebrity couple has four children.