@@ -180,7 +180,7 @@ function views_rss_media_field_formatter_view($entity_type, $entity, $field, $in
|
||||
|
||||
// When generating a thumbnail for a video file,
|
||||
// let's process only thumbnail image details.
|
||||
if ($item['type'] == 'video' && $display['type'] == 'media_thumbnail') {
|
||||
if ($display['type'] == 'media_thumbnail' && $item['type'] == 'video') {
|
||||
$item = (array) $item['thumbnailfile'];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user