Specific YouTube videos are not loading in VRChat on the current release version 1275
After looking at the differences between URLs that worked and those that did not, I downloaded the latest release of yt-dlp and found that the videos that do not work resulted when the following error is being thrown out when downloading the file:
yt_dlp\jsinterp.py:346: FutureWarning: Possible nested set at position 3
This was also raised as an issue on their github page at https://github.com/yt-dlp/yt-dlp/issues/5749
You can see this with the following 2 example videos:
[youtube] Jw9m8qPBmOk: Downloading webpage
[youtube] Jw9m8qPBmOk: Downloading android player API JSON
yt_dlp\jsinterp.py:346: FutureWarning: Possible nested set at position 3
[info] Jw9m8qPBmOk: Downloading 1 format(s): 22
^ This results in "Invalid URL" inside VRChat on the video player.
[youtube] P1-eW4qnyog: Downloading webpage
[youtube] P1-eW4qnyog: Downloading android player API JSON
[info] P1-eW4qnyog: Downloading 1 format(s): 22
^ This works inside VRChat and loads the video.