Closed (fixed)
Project:
Vimeo
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 May 2010 at 18:20 UTC
Updated:
21 Dec 2010 at 20:00 UTC
great module, how can I access the video thumbnail in my teaser through views?
Comments
Comment #1
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 commentedGuess i can get the thumbnails by using the vimeo ID and constructing a path to files/vimeo-originals right?
Comment #3
hixster commentedAddressed issue #1 here http://drupal.org/node/803290
Comment #4
Ari Gold commentedWere you able to get this to work? Can you share how you did it?
Comment #5
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 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.