I use one of these to connect a WiiU and DVD player to the same connection on my tv as I also have 4 devices but only 3 HDMI ports. It's self powered, auto switches between devices and is really quite compact for what it does. I've been using it for over 2 1/2 years without any issues.
https://www.amazon.co.uk/d/Electroni...ds=hdmi+switch