Display the 640×480 Video Thumb in Clip-Bucket v2

Hello,

Like a week ago, somebody in the Arvixe Forum (http://forum.arvixe.com) asked how to display the 640×480 video thumb. I believe this is something that more people are wondering, so I’ll share all of you here. Tested under v2.6.

1. Open ./includes/functions.php or functions_videos.php
2. Find

if($num=='big' || $size=='big')
			{

				$num = 'big-'.$vdetails['default_thumb'];
				if(!file_exists(THUMBS_DIR.'/'.$vdetails['file_name'].'-'.$num.'.jpg'))
				$num = 'big';				
			}

and add after that, paste:

if($num=='640x480')
			{

				$num = '640x480-'.$vdetails['default_thumb'];
				if(!file_exists(THUMBS_DIR.'/'.$vdetails['file_name'].'-'.$num.'.jpg'))
				$num = '640x480';				
			}

3. Save & Upload.

Call it by using

{getThumb vdetails=$vdo num="640x480"}

There you go! If for some reason you get stuck at any step, please let me know so I can assist you right away. Should you have any comments or suggestions, please leave a message at the bottom!

Best Regards,
Richi

Looking for quality Clip-Bucket hosting? Try out Arvixe and you won’t be disappointed.
Tags: , , , , , , , , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I became a Liaison between Arvixe and Clip-Bucket, so I am here to assist you with anything you need regarding Clip-Bucket or any particular computer-related subject you need. Best Regards, Richi

Leave a Reply

Your email address will not be published. Required fields are marked *


− 2 = 1

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>