According to the video, you need vacuum because in air the surfaces will discharge before they are separated to the point where the potential large enough to generate x-rays.
And there are of course also videos showing the effect, here with duck tape outside a vacuum chamber. [1]
x-rays (0.1-10nm) are much higher energy and need a greater potential to be created, which can only be done in a vacuum