Hi,

I got issue when I add a new DM media. The thumbnail is not generated.
Following the Youtube Media module, in the file :
includes/MediaDailymotionStreamWrapper.inc
there should be something like that :

$response = drupal_http_request($this->getOriginalThumbnailPath());
      if (!isset($response->error)) {
        file_unmanaged_save_data($response->data, $local_path, TRUE);
      }
      else {
        @copy($this->getOriginalThumbnailPath(), $local_path);
      }

instead of

@copy($this->getOriginalThumbnailPath(), $local_path);

I propose the patch attached to be commited.

CommentFileSizeAuthor
GenerateThumbnails.patch876 bytesnbourdial
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marvil07’s picture

Status: Needs review » Fixed

I could not reproduce the problem, but patch makes sense, so added to 7.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gphilippe’s picture

Version: 7.x-1.0 » 7.x-1.1
Issue summary: View changes

hi
no thumbnails at all and the module don't work for me.
With media only media_youtube works