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.
by default feeds_youtube just pulls the first thumbnail which is the default thumb at 120x120. this patch pulls the high quality thumbnail instead
Comment | File | Size | Author |
---|---|---|---|
#3 | feeds_youtube-hidef2.patch | 997 bytes | tr33m4n |
feeds_youtube-hidef.patch | 1.13 KB | cangeceiro |
Comments
Comment #1
pixeliteThe patch in #1 is against the feeds_youtube module, not media_youtube; so flipping to the right issue queue.
Comment #2
clearblue_71 CreditAttribution: clearblue_71 commentedI was hoping someone might be able to help?
I ran the patch, however I did not notice any change in my pre-existing image resolution. I tried to delete some of the nodes and re-import, but still no change. I cleared drupal cache as well, and also went into folder where the images are stored and manually removed them - but import still imports low def.
Am I doing something wrong here? Thanks so much for any assistance.
Comment #3
tr33m4n CreditAttribution: tr33m4n commentedHello there,
Yeah this patch has not been updated for a while it would seem and the structure of the XML document return from YouTube has changed. I managed to make it pull in a larger (480x360) image by changing the attribute that the patch looks for. Basically rather than looking for a an entry named 'hqdefault' it simply looks for a thumbnail with the width 480.
Hope this helps
Dan