Comment by netsharc
If it's Android, you can install NewPipe.
For my Kodi box that is connected to a 24" monitor in my bedroom, the Youtube plugin used to work, but it got slower and slower. I've now created a PHP wrapper to yt-dlp, I load the webpage (hosted on my NAS) on my phone, paste the video URL, click download, and a while later the video is an MP4 video stored on my NAS, ready to view on Kodi.
On Android, you can also use Firefox with uBlock Origin.