Just noticed this problem. Probably came with latest stable release and I was slow to notice. I don’t know how to debug. It works for all other links, even when linking to a youtube channel it will load rich media for that channel. I would like this to work with youtube videos as well because it is a handy feature that people rely on. Could someone help me out?
Specifically, when you paste the url it kinda tries to load something at first but nothing shows up.
I don’t think this has anything to do with Akkoma changes. YT is ever more aggresively blocking video access via any ways it deems slightly unusual. Requesting a video page from an IP range known to belogn to a VPS hoster can end up returning only a generic “blocked” page without any info on the requested video. They don’t seem to do so yet for channels.
Generating previews for YT videos works fine for me on current develop (3ff0f46b9f36cb6ccdc95ce78e0603de18b193ab
) on my local dev instance but indeed fails on a production server accessing YT via a VPS
You can check the difference in YT’s response by running the following on your local machine and the server hosting your instance:
curl https://some_channel_url > yt_channel.html
curl https://some_video_url > yt_video.html
grep -ni -o -E '.{0,20}og:image.{0,50}' yt_*.html
1 Like
This was indeed the case. Thanks for helping me out. It crossed my mind but I didn’t know how to confirm.
Man that really sucks.