Johnny Depp’s legal team wrapped up its cross-examination of Amber Heard on Tuesday, but not before grilling the actress about a late-night rendezvous she had with James Franco. Surveillance footage shown to the jury shows the Pineapple Express actor visiting Amber at her penthouse the night before she filed for divorce.

RELATED: Is A James Franco Comeback Possible?

Johnny Depp Believed Amber Heard Had An Affair With James Franco

Johnny allegedly “hated” James and believed he had an affair with his now ex-wife—but Amber testified that their relationship was platonic. On the stand, the actress testified that the This Is The End actor visited her because she had “exhausted” her support network.

"Because he was my friend and he lived next door, quite literally next door," she said of the reason he came to her apartment that night. "And I quite literally exhausted my support network with my usual friends and I was happy to welcome as much friendship at that time as I could possibly get."

Johnny’s legal team then pressed the actress about a video from that night in which James is seen laying his head on her shoulder —and what sort of interaction could have led to that.

Amber explained that the Pirates of the Caribbean actor threw a phone at her the night before, leaving a bruise on her cheek. She said that James saw her injuries and "put his head on my shoulder," adding that he "touched the side of my face and responded to what he saw."

RELATED: Amber Heard Gives Doggone Reason She Didn't Defecate On Johnny's Bed

Amber Heard Previously Testified About Johnny's Jealousy

Amber previously testified that Johnny had kicked her to the floor on a private plane after accusing her of cheating on him with the actor while filming The Adderall Diaries earlier that year.

"He hated, hated James Franco and was already accusing me of having a secret thing with him in my past because we had done Pineapple Express together," she testified earlier this month.

Amber added that Johnny would allegedly pressure her to tell him if James “slipped her the tongue” during kissing scenes in the film.

She added: “It went from asking me about how the kissing scene went or how the sex scene went to asking me what James Franco had done in the scene and being really explicit about my body."

NEXT: Amber Heard Petition To Have Her Fired From 'Aquaman 2' Surpasses 4 Million Signatures