When wiring the soundbar/sounddeck to the TV/projector and other players such as Blu-Ray players and game consoles, there are often several connection options depending on the equipment.
Some sound layers require an HDMI-ARC connection on the TV to be able to offer the full range of functions. So check first if and where the TV offers such an HDMI-ARC connection and choose a suitable connection variant based on that.
Our informative HDMI help page with many connection diagrams will help you: