first set of Maud corrections

This commit is contained in:
Bachir Soussi Chiadmi
2015-03-17 18:39:43 +01:00
parent f155c4705a
commit e323a84aec
39 changed files with 12866 additions and 1950 deletions
@@ -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';