first set of Maud corrections
This commit is contained in:
@@ -153,7 +153,7 @@ function video_embed_field_field_presave($entity_type, $entity, $field, $instanc
|
||||
$items[$delta]['video_url'] = trim($item['video_url']);
|
||||
|
||||
// Try to load thumbnail URL
|
||||
$info = video_embed_field_thumbnail_url($item['video_url']);
|
||||
$info = video_embed_field_thumbnail_url($item['video_url']);
|
||||
if (isset($info['url']) && $info['url']) {
|
||||
$thumb_url = $info['url'];
|
||||
$local_path = 'public://video_embed_field_thumbnails/' . $info['handler'] . '/' . $info['id'] . '.jpg';
|
||||
|
||||
Reference in New Issue
Block a user