Justin Baldoni made an offhanded remark as the cast of "It Ends With Us" was getting ready to shoot a scene ... he says, "Sorry, I missed the sexual harassment training" -- but it was a joke about the wardrobe for the scene.

The video was filed as an exhibit by Wayfarer -- the studio run by Justin -- in his ongoing legal dispute with co-star Blake Lively . Getty

The video shows Blake, Justin, and other background actors prepping for a bar scene.

You see Blake, Justin, and Jenny Slate at a table. There's a lot of casual talk and, in the middle of it, you see and hear Justin say the word "sexy" while looking in Blake's direction.

In a motion filed by Baldoni, his attorney says the use of that word "was entirely unremarkable." He notes Blake was "not scantily clad" ... in fac

See Full Page