How to render a Youtube thumbnail in a template in Drupal 7
问题 I am using the following modules: media media_youtube Styles and would like to render a thumbnail of a Youtube video in a template (.tpl). Which theme function should I use and with what params? My best quess would be something like: $my_media['style_name'] = 'unlinked_thumbnail'; print theme('file_styles',$my_media); where $my_media is an array containing fid,uri,filename,filemime etc. Since i'm very new to Drupal, all my attempts to make sense of the modules source code have failed. I feel