Update to MacOS 26.3
Click on the control center icon on the top right.
Choose Screen Mirroring.
Select the Apple TV you are wanting to connect to. It will be displayed on the projection screen.
You will be prompted to enter the code as displayed on the screen.
Once connected, you might need to adjust your Mirroring options.
To disconnect, follow steps 1 – 3 from above again. You will be disconnected.
It is suggested to AirPlay YouTube content by using the AirPlay icon from the lower right of the YouTube video. This is only an option while using Safari.