WHAT'S NEW?
Loading...

Generate youtube video thumbnail image java script


I created a customize java script from other sources the will generate thumbnail images from youtube.com. It really took me a couple of hour to figure it out, because I was really confuse in different jquery script posted in the net.Now let me teach an easy way on how to generate a thumbnail image based from the given url. Ooops! my mistake! i wont teach you, instead i will show you the whole code including the java script the will generate YouTube thumbnail image.

For example this is your link: http://www.youtube.com/watch?v=HgIzOsMvN9A&feature=related

function getParameter(url) 
{
    var urlparts = url.split('?');
    if (urlparts.length > 1){
        var parameters = urlparts[1].split('&');
        for (var i = 0; i < parameters.length; i++){
            var paramparts = parameters[i].split('=');
            if (paramparts.length > 1) {
                return unescape(paramparts[1]);
            }
        }
    }
    return null;
}
function CreateThumbnail(frm){  
  var url;
  Embed = frm.txtVideoURL.value;
  url=getParameter(Embed);
  alert("http://img.youtube.com/vi/"+url+"/2.jpg");      
 }
<input id="inputVideoURL" name="txtVideoURL"type="text" />
<input name="action"onclick="CreateThumbnail(VideoForm);"type="submit" value="INSERT"/>


As you enter the Youtube video url to the textfield it will call back a url directory where the image thumbnail of Youtube is located.

How to avail eon card in union bank and requirement 's


In this modern society, online business transaction is very useful. You get an item and send a money or vice versa. Of course we cant do that if we don't have an electronic card that will transact online. That is why union bank Philippines offer an affordable eon card that can be used in online transaction. It only cost 350 pesos annually.

How to avail an eon card?

There are two procedure to apply and get eon card in union bank.

The first option is to fill up an application form manually and you'll get your eon card after three days.

The Second option is go to www.unionbankph.com, and apply online. After applying online, you'll get a reference number for eon card.Present this reference number to any union bank branch and get your eon card in a couple of hours.

So what are the requirement of getting an eon card?

Here are the things you need to bring.

1. A photocopy of two valid ID and its original

2. SSS number or TIN number

3. ID Picture (1x1)

4. 350 pesos for annual fee