It turns out that you don't need any control ID: VLC will accept space in any control (or at least the topmost control). The problem with your code was, I think, that you used both window class and text from the title to identify the window: you should just use one or the other, not both.

I always set the title match mode to 2 (= words can be anywhere in the title) because that catches most titles and works more intuitively (I am too lazy to test whether it works with a different match mode).