Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
great module, how can I access the video thumbnail in my teaser through views?
Comments
Comment #1
hixster CreditAttribution: hixster commentedI realise this is beta , but just wondering,
- Shouldn't the field be hidden on the node by default if a video hasn't been added
Comment #2
hixster CreditAttribution: hixster commentedGuess i can get the thumbnails by using the vimeo ID and constructing a path to files/vimeo-originals right?
Comment #3
hixster CreditAttribution: hixster commentedAddressed issue #1 here http://drupal.org/node/803290
Comment #4
Ari Gold CreditAttribution: Ari Gold commentedWere you able to get this to work? Can you share how you did it?
Comment #5
dsbrianwebster CreditAttribution: dsbrianwebster commentedYes I was able to get this to work in views by using "Views Custom field" .
1. Install/Enable "Views Custom field" (http://drupal.org/project/views_customfield)
2. Create a view and add Field "Content: vimeo", exclude it from display, set label to none and Format to "Video ID"
3. Add field "Customfield: PHP code", no label, and set the value to:
<img src="/sites/default/files/imagecache/vimeo_thumbnail/vimeo-originals/<?php print $data->node_data_field_vimeo_field_vimeo_value; ?>.jpg" alt="" />
4. Update and Viola!
Best,
DS
Comment #6
jdwfly CreditAttribution: jdwfly commentedNo need to get views_customfield. Put the vimeo field in there, exclude from view and format to video ID. Then use a Global: Custom Text and set the value to:
The part in the brackets is what you will need to change for the value of your vimeo field.