Use the better option for the ytdlp extension https://github.com/hgcat-360/PotPlayer-Extension_yt-dlp
Download the full plugin archive here https://github.com/Alexey71/PotPlayer-yt-dlp/releases
Extract the files from the archive: MediaPlayParse - yt-dlp.as, MediaPlayParse - yt-dlp.ico, Update-yt-dlp.bat, yt-dlp.exe, deno.exe into the Extension\Media\PlayParse folder, by default located at C:\Program Files\DAUM\PotPlayer.
To use as the default when opening youtube URLs, go to Preferences (F5) > Extensions > Media Playlist/Playitem and move it above the default.
Run Update-yt-dlp.bat. Updating to the latest master channel.
Or download the file manually from the official https://github.com/yt-dlp/yt-dlp