Disable Video Thumbnails Disable Video Thumbnails
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Disable Video Thumbnails

Started by scifirocket21, August 09, 2006, 07:13:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scifirocket21

I searched for about 30 min. on how to do this and all I found was an article that told me how to disable GIF thumbnails, but disabling video thumbnails proves to be more tricky for me.  Is there a way I can make video thumbnails go away completely?  Since I'm making a site that does only videos, is there a way I can disable thumbnails altogether?  Or is there an add-on or modification that would allow the thumbnail to take a snapshot of the first frame of the video itself?

(I just now I missed a topic that answers this and I will probably get shot for it. lol)

Joachim Müller

Well, that's pretty easy: replace the generic video thumbnail with a transparent gif that is one pixel wide and high. To do that, rename images/thumb_movie.jpg to images/thumb_movie_old.jpg. Then upload the transparent gif I attached to this posting into the images folder. Depending on your theme, you may have to edit your stylesheet and remove the border around the thumbnail: edit themes/yourtheme/style.css, find.imageand remove or comment out the line(s) that determine the border properties.

scifirocket21

Since the thumbnail image is in JPEG format, how do I replace the JPEG image with the transparent GIF image.

Joachim Müller

I told you to rename the jpeg. If no jpeg is found, a gif can be used (as suggested). Please follow my instructions.