Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have encountered a case where I need to have the video AND the thumbnail included with it for a Flexslider.
Comment | File | Size | Author |
---|---|---|---|
#2 | media_oembed-thumbnailoption-2689525-1.patch | 1.85 KB | Melissamcewen |
Comments
Comment #2
Melissamcewen CreditAttribution: Melissamcewen as a volunteer commentedSo here is a patch for the feature. If you chose the include thumbnail option it prints one if there is one for the video.
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedThanks for the patch!
This is best done in the theme layer or in a custom formatter.