I am using video field embed to create a video field that is part of an node gallery. I allow an unlimited number of fields in the widget. In a view, I add video as a field and choose the thumbnail formatter. I've tried this with both normal and teaser video modes. Everything works great except that the thumbnail is blank, and if I try to view it I just get "Error generating image." It would be good if the YouTube thumbnail was available or even if there were just a default thumb that showed a video icon.

Comments

Botto’s picture

I had this same issue. It was my web server. You need to make sure your web server can communicate with the youtube servers.
Try it on a different server or local one.

bbinkovitz’s picture

Thanks! Can you point me to which server settings affect this?

bbinkovitz’s picture

I got it to work by enabling the "description" field on the field in the content type, and then setting the input format of that field to PHP filter. That seems really bizarre so I'm going to try to look at whether there's something I could patch to make it not depend on those settings.

bbinkovitz’s picture

Title: YouTube thumbnail is blank in view. » YouTube thumbnail cannot be generated unless "description" field is enabled and evaluating PHP
Botto’s picture

I do not beleive it is connected to the description field at all.
What I have seen is that the module first tries to use the drupal api to get the image, if that fails it goes over to just using copy, however this would also fail considering the drupal api failed.
I think there just needs to be some improvement in the fallback or messaging of failure.

bbinkovitz’s picture

I encountered the same issue with the same module later, on a different project. I don't know what the server settings looked like because I was not privy to that information, but once again we had to enable the description field and allow it to evaluate PHP.

DElion’s picture

Version: 7.x-2.0-beta4 » 7.x-2.0-beta5

comment withdrawn

DElion’s picture

Issue summary: View changes

Added error message info

hkirsman’s picture

Issue summary: View changes

Vimoe thumbnails are not generated either. Where do you get to set the evaluate PHP for description field?

candelas’s picture

I discovered that for previewing the thumbnail I had to re-save the content. Then the thumb was created in files/video_embed_field_thumbnails/youtube
I hope it helps someone :)

hugronaphor’s picture

jddh’s picture

For me, the issue was that my host whitelists insecure remote file requests. For youtube embed thumbs, this module calls drupal_http_request() to http://i.ytimg.com and fails because of the whitelist. I forced the thumb URL to https before the file request is made and all is well.