Youtube thumbnail in Views
mattiasdk - September 2, 2009 - 15:11
| Project: | Video Upload |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I just stubled opon a small problem in the video_upload.theme.inc file, where the small thumbnails are processed for Views.
Apparently it's just a small coding glitch, which can be fixed very easy.
The value "id" in $item is wrong and should be changed to "video_id" in line 125:
$attributes['src'] = VIDEO_UPLOAD_YOUTUBE_THUMB_URL . '/' . $item['id'] . '/1.jpg' . $flag;
Otherwise Views will show the text "Youtube Thumbnail" forever, because the Youtube ID isn't included in the img-link.
Regards,

#1
Thanks mattiasdk. Committed to dev.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.