Youtube embeds aren't descriptive enough #237

Closed
opened 2026-10-01 20:53:05 -04:00 by Salastil · 3 comments
Owner

image.png

Currently when a youtube embed completes it just shows the thumbnail, it doesn't show anything regarding the title name of the youtube video or give the option to play it within moho.

![image.png](/attachments/90fb794e-160a-410a-a9b7-55b99660d2cb) Currently when a youtube embed completes it just shows the thumbnail, it doesn't show anything regarding the title name of the youtube video or give the option to play it within moho.
122 KiB
Salastil added this to the v1.0 milestone 2026-10-02 00:00:03 -04:00
Author
Owner

Reference picture of how Discord embeds.

Reference picture of how Discord embeds.
Salastil added the feature label 2026-10-03 00:42:51 -04:00
Author
Owner

Finished.

YouTube links now get a Discord-style card on every service: YouTube, the channel, and the title as a link, with the thumbnail inside. Clicking the thumbnail plays the video in place using YouTube's privacy-enhanced player (youtube-nocookie.com). A corner button opens it on YouTube instead.

  • nobilis gets the title and channel from YouTube's oEmbed endpoint and stores them on the message, so scrollback keeps them. The request goes through the account's route; with no route it isn't sent.

  • On accounts set to Strict, the thumbnail opens the video in the browser instead, because the player can't be sent through the route.

  • Discord embeds now keep their provider and author too.

  • Matrix link previews no longer mark a message "(edited)" or clear its attachments.

  • nobilis: https://git.salastil.com/Salastil/nobilis/commit/e78ae8d

  • moho: https://git.salastil.com/Salastil/moho/commit/2d30650

Finished. YouTube links now get a Discord-style card on every service: **YouTube**, the channel, and the title as a link, with the thumbnail inside. Clicking the thumbnail plays the video in place using YouTube's privacy-enhanced player (youtube-nocookie.com). A corner button opens it on YouTube instead. - nobilis gets the title and channel from YouTube's oEmbed endpoint and stores them on the message, so scrollback keeps them. The request goes through the account's route; with no route it isn't sent. - On accounts set to **Strict**, the thumbnail opens the video in the browser instead, because the player can't be sent through the route. - Discord embeds now keep their provider and author too. - Matrix link previews no longer mark a message "(edited)" or clear its attachments. - nobilis: https://git.salastil.com/Salastil/nobilis/commit/e78ae8d - moho: https://git.salastil.com/Salastil/moho/commit/2d30650
Salastil reopened this issue 2026-10-06 18:41:35 -04:00
Author
Owner

image.png

Livestream videos from youtube did not get handled by our bugfix. We need to ensure shorts are handled by our patches as well.

![image.png](/attachments/6a94a2c5-f226-4445-86af-852676ad1c5f) Livestream videos from youtube did not get handled by our bugfix. We need to ensure shorts are handled by our patches as well.
149 KiB
Salastil referenced this issue from a commit 2026-10-07 17:48:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#237