I had the same thought, so looked up the laws - the difference between counting cards and this trick is that they are using both external devices and other people to help. If they could get the timing correct solely with their own observation, it would be legal.