To change the audio output on YouTube, click on the gear icon in the video player, select “Playback settings,” and choose the desired audio output device from the “Audio Output” drop-down menu.