That was close - his wing mirror must have been inches from clipping you.
In those kinds of situations (multi-lane junctions and higher speed differentials) you're always vulnerable and it makes you aware of how much slower and smaller you are when compared to motor vehicles. Primary position is a deterrent to close overtakes and hooks, but it is far from a panacea.
The only thing I would add is that in those circumstances (I'm assuming the oncoming, right turning traffic is being held by a signal in the film), is that much of the threat is coming from behind you. All you can really do is try to keep looking back in order to glean the occasionally imbecilic manoeuvres of other road users and try to adapt your riding accordingly.