← Back to context

Comment by bronlund

7 hours ago

I use a script to read the feed which then checks every video against https://www.youtube.com/shorts/VIDEO_ID. If it loads (200), it's a Short.

Stupid, but it works.

FYI you can just write a quick script to replace that with http://www.youtube.com/watch?v=VIDEO_ID and it works, at least on a desktop firefox browser with an adblocker on it. Weirdly, it seems to explicitly not work in Discord?

  • Discord has special handling for certain websites' embeds, including YouTube. Maybe because they already have to pull other video information by ID, they determine whether to use the shorts player based on YouTube's API rather than the URL used.