great module, how can I access the video thumbnail in my teaser through views?

Comments

hixster’s picture

I 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

hixster’s picture

Guess i can get the thumbnails by using the vimeo ID and constructing a path to files/vimeo-originals right?

hixster’s picture

Addressed issue #1 here http://drupal.org/node/803290

Ari Gold’s picture

Were you able to get this to work? Can you share how you did it?

dsbrianwebster’s picture

Yes 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

jdwfly’s picture

Status: Active » Fixed

No 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:

<img src="/sites/wcbc.edu.yc/files/imagecache/vimeo_thumbnail/vimeo-originals/[field_vimeo_value].jpg" />

The part in the brackets is what you will need to change for the value of your vimeo field.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.