What you cannot do, is find yourself nose to nose with a player. If that means that you need to take a step back, do so, in a dignified manner, and if the occasion requires it, gently, not aggressively outstretch one of your arms, at your waist level, to form a subtle barrier, in a "calm down" mannerism. This player, (agreed, don't know why) is irate. To simply throw a yellow card up in the air is not managing a situation, its inflaming it ! How would you react as player if you had already lost plot and the ref fired a yellow card up in the air like that at you? Would it settle you down or, simply fill you with more rage? This player has lost it, he needs calmed down, and then the appropriate action. You could decide as referee that you are going to dismiss him, fine, calm him down, take as much aggression out of the situation as you can, then, calmly and gently, but firmly, communicate as you are issuing the sanction, something like "ok, that was too far, you cannot speak to me like that using those words and acting in that manner, I need to send you off for foul and abusive and it might be best for everyone if you leave the park without any more fuss". To simply stand there fighting fire with fire is ludicrous, watching the clip again, no doubts the player has lost it, but the referee looks far too confrontational in the clips, no management skills at all