by default feeds_youtube just pulls the first thumbnail which is the default thumb at 120x120. this patch pulls the high quality thumbnail instead



pixelite’s picture

Project: Media: YouTube » Feeds: YouTube Parser
Status: Needs review » Needs work

The patch in #1 is against the feeds_youtube module, not media_youtube; so flipping to the right issue queue.

clearblue_71’s picture

I 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.

tr33m4n’s picture

Issue summary: View changes
997 bytes

Hello 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