You don't. YouTube specifically does not allow playback via any WiFi multi-room audio systems, including Google's own Chromecast Audio. They want your eyes on the screen, and systems like Sonos and Chromecast Audio are designed to let you turn the screen off because they stream from the unit itself, not the mobile device.
So if you want YouTube on Sonos, you have to complain to YouTube, because they hold all the cards.
Note there are workarounds, like Airplay or Bluetooth through a Sonos line-in.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. You can always change your cookie preferences in your profile settings. Learn more about our cookies.