Well, replacing some files worked! I took the
cab of the 1922.4122 version of the HD2 HTC Youtube player from
here. I extracted the following files
from it and placed them in the windows folder to replace the ones from the newer version. I don't know if all of them are necessary actually, but this works. No connection problems BTW.
For your convenience: they are attached to this message.