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.
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.
Comment | File | Size | Author |
---|---|---|---|
GenerateThumbnails.patch | 876 bytes | nbourdial |
Comments
Comment #1
marvil07 CreditAttribution: marvil07 commentedI could not reproduce the problem, but patch makes sense, so added to 7.x-1.x.
Comment #3
gphilippe CreditAttribution: gphilippe commentedhi
no thumbnails at all and the module don't work for me.
With media only media_youtube works