Video Player Thumb is a plugin that lets you easily get the thumbnail for Youtube, Vimeo, Dailymotion, Veoh, MySpace, Metacafe and Revver videos, from the video URL. This is basically an extension on Benjamin David’s plugin and much thanks to him for that code. I have just substituted the request with ones to get the thumbnails as I was created a video gallery that links to a full page that then uses Benjamin’s plugin to get the embed code.
Video Player is available on EE 1.6 AND EE 2.0 (Thanks Dave for the addition)
Notice : You have to set the Weblog/Channel preference “Automatically turn URLs and email addresses into links?” to “No” in order to make the plugin work
The Single Tag
{exp:videoplayerthumb:thumb src="http://www.youtube.com/watch?v=h1qYN3YtPfU"}
The Tag Pair
{exp:videoplayerthumb:thumb src="http://www.youtube.com/watch?v=h1qYN3YtPfU"}
{videothumb_url}
{/exp:videoplayerthumb:thumb}
Way to use with imgsizer
{exp:videoplayerthumb:thumb src="{video_link}" parse="inward"}
{exp:imgsizer:size src="{videothumb_url}" width="100" height="100" alt="" remote="on"}
{/exp:videoplayerthumb:thumb}
Tag Parameters
src= [REQUIRED] The URL of the Youtube, Vimeo or Daily motion video you want to embed in the player.
url_only= (optional) If set to yes the plugin will only output a remote url to the file so you can use the imsizer plugin with it. Best way is to embed the imgsizer plugin in another template and pass the result from the videoplayerthumb to it.
There are no height or width parameters in this plugin has you are better off using the imgsizer plugin to resize them.
