Youtube Links Sent by Bots are Not Producing a Playable Video Embed

(#4387) Bug Closed: Answered embeds

Thread

Comment by Hampus
HampusStaff 2 votes
Fluxer handles this the same way Discord does, and the fix should go in the bridge. When a link has been previewed recently (within about 30 minutes), the platform adds the YouTube preview the moment the message is sent. Your bridge then copies that preview over as a bot embed. Bots can't send playable video embeds on Fluxer or Discord, so the copy turns into a plain card. Since the message already has an embed, the receiving side doesn't make its own preview either. I tested this on Discord too: sending a link with a copied video embed gives the same plain card there. When the link hasn't been previewed recently, the preview is added a moment after the message is sent. The bridge forwards only the bare link, so the other side makes its own playable preview. That's why the Fluxer to Discord direction worked for you. A fresh link, for example one with a random ?x=123 added, should break the same way going to Discord. The fix is for the bridge to skip embeds that aren't rich and forward only the link. Then each side makes its own playable preview.