Now that "How I Met Your Mother" is over, Jason Segel has decided to make a "Sex Tape" with his "Bad Teacher" co-star Cameron Diaz

The duo play a married couple who try to spice up their love life by making a lurid home video, only to accidentally upload it to a dozen or so iPads® they gave out to friends and family for the holidays. Gags with attack dogs, clueless parents, casual nudity and not-so-horrible bosses ensue. Plus, you can watch Rob Lowe ditch clean-living and get back into hard drugs. 

We'll say it's NSFW, although it's fairly tame besides some expected sexuality (but no nudity) and some seemingly forced curse words 

"Sex Tape" is directed by "Bad Teacher's" Jake Kasdan, and written by Kate Angelo.

It also stars Rob Corddry, Ellie Kemper, and Jack Black, although the latter doesn't appear in the trailer. 

"Sex Tape" opens July 25.