3 ms·
I use a script to read the feed which then checks every video against https://www.youtube.com/shorts/VIDEO_ID https://www.youtube.com/shorts/VIDEO_ID. If it loa
by bronlund 5mo ago
I use a script to read the feed which then checks every video against https://www.youtube.com/shorts/VIDEO_ID https://www.youtube.com/shorts/VIDEO_ID. If it loads (200), it's a Short.
Stupid, but it works.
- kulahan 5mo agoFYI you can just write a quick script to replace that with http://www.youtube.com/watch?v=VIDEO_ID 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?
- sheept 5mo agoDiscord 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.