Jack Black has signed on for a cameo role in Sex Tape, reuniting the comedic actor with his Orange County director, Jake Kasdan.

The story centers on a married couple (Jason Segel and Cameron Diaz) who decide to spice up their marriage by making a sex tape. Their plan goes horribly awry when they lose the tape the next morning, setting in motion a chaotic search to find the tape before anyone else can watch it. Jack Black is said to have a "scene-stealing cameo" as the CEO of a porn company. Rob Corddry also stars as the couple's trustworthy friend who helps them look for the video.

Jake Kasdan is directing from a screenplay by Kate Angelo (The Back-Up Plan), with Todd Black, Steve Tisch and Jason Blumenthal producing through their Escape Artists company. Shooting is scheduled to begin this fall, before Cameron Diaz starts production on the musical remake Annie, where she plays Miss Hannigan.

Jack Black most recently starred in the dark comedy Bernie, which earned him Golden Globe and Independent Spirit Awards nominations.