"playing ‘chicken’ with"

This refers to a game – a relatively dangerous one – where usually two participants stand-off against each other to see who gives up first. The game is sometimes played by a person who stands in the middle of the road and waits till the last minute before jumping out of the way of an approaching vehicle. Obviously, the sooner the person escapes, the more ‘chicken’ they are.

The video shows someone "playing chicken" with a train!