Jason Segel and Cameron Diaz in Sex Tape.

Once upon a time, there was a new director who seemed to have a very promising career ahead of him. In 1998, Jake Kasdan made his directorial debut with the excellent Zero Effect, one of that year’s best movies. It still stands as one of Ben Stiller’s best efforts—and Kasdan even wrote the thing.

Since then, Kasdan’s films have gotten progressively worse (Orange County, Walk Hard: The Dewey Cox Story, Bad Teacher). Now comes this mess starring Jason Segel and Cameron Diaz, an ugly comedy that tries to get laughs out of people being very, very uncomfortable.

The two play a husband and wife who don’t know how to really have sex with each other any more, so they make a sex video using an iPad. Then, that video syncs up with a bunch of other iPads that they gave away as gifts—so a bunch of friends and family are at risk of seeing them naked and sweaty.

Somehow, Kasdan manages to work in an overlong bit featuring Segel getting attacked by a dog; meanwhile, supporting stars like Rob Corddry and Rob Lowe labor for laughs.

The film feels like a flat, dated and shameless piece of advertising for Internet porn and Apple—a company which must be seriously regretting the decision to allow their products to be used in this movie.

Also, let it be known that Diaz and Segel look and sound absolutely disgusting when they are making out.

Sex Tape is playing at theaters across the valley.