How they did it is explained in the video. They have a JavaScript program running in node that takes in the Leap Motion data, interprets it and turns it into helicopter control commands. The program then sends the commands to an Arduino board which controls IR LEDS used to transmit the control signals to the helicopter. (Note that there are a lot more examples of controlling the Parrot AR drone with a Leap Motion controller.)