As seen on a screen (as of television, film, or computer) rather than in real life.
The two actors had a very realistic on-screen romance, but in reality they couldn't stand each other.