"thumb" attribute should override YouTube, etc thumbnails

Created on 5 September 2013, over 11 years ago
Updated 9 January 2025, 4 months ago

I'm not sure if this was a deliberate decision, but it seems that setting the thumb attribute on embeds has no effect if the embed is from YouTube or any other web service. It seems to me that if the user sets the thumb attribute, they want to override the thumbnail instead of use the one from the web service.

This patch simply gives the thumb attribute precedence over the other methods for getting a thumbnail. So, if a user sets the thumb attribute, it will be used instead of the thumbnail from whatever web service.

Let me know if there was some reason for having it the other way, and I can do some work to make this a setting or something.

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States theunraveler

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mfb San Francisco

    Closing this as no one has worked on it in a while. Feel free to re-open if someone wants to contribute a merge request.

Production build 0.71.5 2024