animated gif thumbnails for videos
does anyone know how to make animated gif thumbnails from the uploaded videos?
that way the thumbnals can be used to link to the site, instead of embeded viode thing or the iframe
thegifs ould be 5 or 6 low resolution captures from teh video and the file would be best created in a certain folder, or with the a suffix of _thumb ie. video_thumb.gif so it can be excempt for the rest of the hotlinking rules in the httacess with this line
Code:
RewriteCond %{REQUEST_URI} !.*_thumb.*$ [NC]
the idea its to make it easier for ussers to link to your site and get more traffic going on, as well as to provide possible visotrs what they should expect in the video.
Re: animated gif thumbnails for videos
well, since i've posted this , i've been readoing about mencoder and mplayer, and mplayer has the capabilty of creating these animated gifs with a command, and the gif library enabled in your mplayer installation, if anyone is really interested, respond, all i need now is learn how to implement it with vshare.
Re: animated gif thumbnails for videos
guess noone is interestd in helping
Re: animated gif thumbnails for videos
It may not be that on one is interested, it may be that no one knows.
Re: animated gif thumbnails for videos
I think it's a cool idea, but I would have no idea how to implement it. I have seen sites before that had 4-6 thumbnails taken, and it cycled through them on mouseover. That's probably close to the same thing, but I have no idea how they did it.
Re: animated gif thumbnails for videos
what you say was porbbaly a jpg thmbnail rotator, since gifs dont need mouseover to intereact.
i alreayd know the command to creat gifs from the flv videos , but i dont know how o add the command to the script, i might not be possible, due to zend.
Re: animated gif thumbnails for videos
Quote:
Originally Posted by SittingOut
I think it's a cool idea, but I would have no idea how to implement it. I have seen sites before that had 4-6 thumbnails taken, and it cycled through them on mouseover. That's probably close to the same thing, but I have no idea how they did it.
if you want to add .jpg images for Channels.
log in to admin
see the Channel Management in left.click Add Channels then you can add any .jpg images to make your own new channel(only .jpg is supports in vshare i am not sure in gif or others)
Re: animated gif thumbnails for videos
The thumbnail rotator is available. Email me and I'll send you the files. See my sig below for contacting me.
Re: animated gif thumbnails for videos
Quote:
Originally Posted by grynmoors
The thumbnail rotator is available. Email me and I'll send you the files. See my sig below for contacting me.
but that woudlnt work for the main idea of the gif files: hotlink the thumb in forums/blogs
Re: animated gif thumbnails for videos
Oh, sorry...my post was in reply to SittingOut
Quote:
I think it's a cool idea, but I would have no idea how to implement it. I have seen sites before that had 4-6 thumbnails taken, and it cycled through them on mouseover. That's probably close to the same thing, but I have no idea how they did it.
Just letting him/her know that this is available in the forums.
Re: animated gif thumbnails for videos
sooooooooo after a couple of days of fingering here and there, i was able to creathe thumblings form the already generate thumbs (either 1, 2 or 3, your pick)
it took me 2 hours to edit the view_video.tpl and get it almost right. before you try this, Let ti be known that I by changing this, I lost the auto select all java capability, even though the code is there. so if anyone figures out how to get it back to work, I'd appreciate it.
What this does, to be specific, it creates two extra links for the users to copy: 1 code to hotlink a thumbnail to forums, and another code to hotlink the thumbnail
to websites/blogs.
pros: You can now stop using the embedded video option, in whcich you risk not getting a visit to your site, since most users just click play and watch the video from wherever is embedded.
2. Save bandwidth. Again, by not having to sse the embed option. Instead, you use samller file of about 8k.
3. Multiply your traffic to your site by letting users hotlink u from thousands of blogs/forums
cons:
it's a jpg, not an animated gif. The original idea is being able to place an aniamted gif, so that it gives the surfer the feeling of a video preview and not a static image, many uses dont stop to read what they browse, they just want the media goodies,,, so by looking at a jpg, they will just assume it's a thumbnail to an image.
Again, if someone figures out how to add a mplayer command (i know the exact command to use)to the code to add a gif image to the /thumb/ direcotry, please post it!
to do this,
1. backup the view_video.tpl file so if you messs up, ou can just reupload it to your site.
2. go to <form id=linkForm name=linkForm> section of the code, just below you will find the following code for the perm link:
Code:
<span style="padding-right: 2px; padding-left: 2px; padding-bottom: 2px; padding-top: 2px; background-color: #ffffaa">Video URL (Permalink):</span><font style="color: #000000"></font>
<input name="video_link" value="{$baseurl}/view/{$video_info.VID}/{$video_info.seo_name}/" size="70" onclick=javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select(); readOnly>
3.just below , place the following code
Code:
<span style="padding-right: 2px; padding-left: 2px; padding-bottom: 2px; padding-top: 2px; background-color: #ffffaa">Thumbnail Link
for forums: (Click code three times to select all)</span>
<input name="video_link" value="[IMG]{$tmburl}/1_{$video_info.VID}.jpg[/IMG]" size="70" onclick=javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select(); readOnly>
<span style="padding-right: 2px; padding-left: 2px; padding-bottom: 2px; padding-top: 2px; background-color: #ffffaa">Thumbnail Link
for websites/blogs:(Click code three times to select all)</span>
<input name="video_link" value="<a href="{$baseurl}/view/{$video_info.VID}/{$video_info.seo_name}/"><img src="{$tmburl}/1_{$video_info.VID}.jpg " border="0" alt="{$video_info.VID}" /></a>" size="70" onclick=javascript:document.linkForm.video_link.focus();document.linkForm.video_link.select(); readOnly>
save, re-upload to your site.
next, you are honna have to allow the thumb directory (http://www.yourvsharevideosite.com/thumb/) to be hotlinked, to do this
1. open notepad and type the following:
2. save the file as htaccess.txt
3. go tor website control panel, and upload the file in the /thumb/ directory, it is super important that you do not upload it anywhere else, since it will tell that directory to allow hotlinking from anywhere.
3. once uploaded, rename it from htaccess.txt to .htaccess
Disclaimer:
THis worked for me very well . IF it doesn't work for you, please reupload your .tpl back up file, and delete the .htacess file you uploaded to your /thumbs/ directory.
IF u try it, give some feed back!
Re: animated gif thumbnails for videos
OK NOW I get it! This is a brilliant idea. Rather than have ppl embed videos, whereby not driving any traffic to your site but rather, allowing them to suck up your bandwidth...give them the option to hotlink thumbs instead.
So, instead of seeing the instructions for embedding the video, they get a "copy and paste" code for the thumb image with the URL. Brilliant. I'll have to try this on my test site.
What do you mean "I lost the auto select all java capability, even though the code is there."? I guess I'll find out when I go to do this.
Re: animated gif thumbnails for videos
OK, I get the link to the thumb (and you can have it say "right click and choose "select all") and I also am getting the link to the embed video option.
So, what we would probably want to do is delete the code for it?
Re: animated gif thumbnails for videos
by default, when you click on the embeddded video code or permalink, the whole text autoselects , by some hava code , but when you create another inspace of the span, the javascirpt code stops working
Re: animated gif thumbnails for videos
no need to delete that code, all you ahve to do is disable embedded videos from yoru admin section.
Re: animated gif thumbnails for videos
OH DUH yeah, I forgot.
Yes, this works brilliantly. I'll be applying it to all my video sites. You're a genius!!!!!!!!!!!!!
Re: animated gif thumbnails for videos
I figured out the javascript issue
It has to do with 'forms'....each form should have it's own unique name and ID
Here's the code I used and it works nicely.
Look for
Code:
<div style="font-size: 11px"> (Put this video on your website. Works on Friendster, eBay, Blogger, MySpace!)
</div>
{/if}
{/if}
</form>
INSERT AFTER:
Code:
<form id=linkForma name=linkForma>
<span style="padding-right: 2px; padding-left: 2px; padding-bottom: 2px; padding-top: 2px;">Video Link for forums:</span>
<input name="video_link" value="[IMG]{$tmburl}/1_{$video_info.VID}.jpg[/IMG]" size="60" onclick=javascript:document.linkForma.video_link.focus();document.linkForma.video_link.select(); readOnly>
</form>
<form id=linkFormb name=linkFormb>
<span style="padding-right: 2px; padding-left: 2px; padding-bottom: 2px; padding-top: 2px;">Video Link for websites/blogs:</span>
<input name="video_link" value="<a href="{$baseurl}/view/{$video_info.VID}/{$video_info.seo_name}/"><img src="{$tmburl}/1_{$video_info.VID}.jpg " border="0" alt="{$video_info.VID}" /></a>" size="60" onclick=javascript:document.linkFormb.video_link.focus();document.linkFormb.video_link.select(); readOnly>
</form>
Re: animated gif thumbnails for videos
Awesome dude! works perfectly. thanks :)
Re: animated gif thumbnails for videos
hehe that's...Dudette ;) LOL
Re: animated gif thumbnails for videos
ooops! my bad, hard to tell gender online
Re: animated gif thumbnails for videos
Thanks for the mod, works really nice! ;)
Re: animated gif thumbnails for videos
Quote:
Originally Posted by pyrorain
ooops! my bad, hard to tell gender online
Don't I know it! LOL Don't worry, I didn't expect you to know I was female. I get that a LOT especially in the FPS gaming community. When I get on voice, some of the guys are blown away.."Oh my God, there's a chick on here!" to which I reply, "Not just a chick, but a granny with an attitude, so look out boys! Grand-ma's got a grenade launcher!".