[joomla] K2 and Allvideos - How to do a Youtube thumbnail?

Mark Holberg info at
Tue Dec 27 19:41:24 EST 2011


I believe with a locally hosted video you place a .jpg with the same 
file base name as the video, and it becomes the poster image (image that 
displays before the video plays).

My first instinct would be to try placing a jpg with the same name as 
the YouTube video in the base folder for the locally hosted videos - as 
specified in the AllVideos plugin.

When I used AllVideosReloaded with Joomla 1.5, (either from their doc or 
the JW Player site - I don't remember which right off) code like this 
would work {m4v img="poster/testimonial-poster.jpg" width="440" 

if the structure was /images/stories/video
then poster would be /images/stories/poster

Whether you can designate a poster image regardless of whether you are 
streaming a local or remote video I can't say. I never tried remote.

Hope this spares you the several bruises I suffered banging my head 
against the wall on this problem.

On 12/27/2011 4:49 AM, David Roth wrote:
> Anyone familiar with K2 and Allvideos? I installed K2 andIn the  it looks very useful.  (Thanks again Stephen Britton for recommending it.) I then needed to install Allvideos so it would work with media.
> I want to be able to have embedded Youtube links with control over the thumbnail being displayed, but since Youtube limits your selection to three random video frames to act as the "poster" or thumbnail, I'd prefer to select my own graphic and have it displayed.
> So I have been checking out K2 and Allvideos. On they have as an example of a website using their Allvideos plug-in here:
> Look in the above URL and see on the right where it says Video Gallery. Notice how a graphic is displayed first in the youtube video before it's played and then it proceeds normally to play the Youtube video. That's what I want to be able to do, create my own graphic to display before the user clicks on the video.
> Since I'm new to K2 and Allvideos as I mentioned, it's not clear to me how this is being accomplished to display these Youtube videos with the thumbnails. I poked around a little in the HTML but that's only going to show me after it's been processed by the plug-ins.
> I've seen example code like this:
> {youtube}heu37ej3qs{/youtube}
> which embeds a Youtube player. But I've been unable to find an example of where a graphic image to be used as the thumbnail is being specified.
> Any brilliant insight to this would be greatly appreciated.
> David Roth
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP

Mark Holberg
WayNorth Web
Complete Web Services - Design, Development&   Marketing
200 Washington St., Suite 307
Watertown, NY 13601

More information about the Joomla mailing list