Allow resizing of Revver Thumbnails
sturtus - April 20, 2007 - 03:17
| Project: | Video CCK |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | aaron |
| Status: | closed |
Jump to:
Description
Viewing any Revver video, thumbnail embed code is selectable. Here is a sample of the code it spits out:
<a href="http://one.revver.com/watch/203205/affiliate/72173"><img src="http://frame.revver.com/frame/120x90/203205.jpg" /></a>Simple enough right? Even better is the dimensions in the path can be changed to resize the thumbnail to any size. For instance:
http://frame.revver.com/frame/600x20/203205.jpgSo, playing around with your code, it seems only a few variables would need to be passed around.
the href should like to the page with the video on the video cck node, but it should pull the actual thumb from revver.
I'm just using an empty text field to supply this thumbnail using CCK until then.

#1
thanks! i'll go ahead and implement that today.
#2
ok, that's done, although i still need to allow for different size thumbnails
#3
#4
revver now resizes best of all the providers, since they allow you to actually specify the size of the thumbnail returned.
#5