I think he's had those political views for years. He just didn't start getting very overt/vocal about it in his content until about 2017.
He was into a lot of nonsense long before he made that video about 3 years ago talking about how horrible HTTPS is some kind of NSA plot.