Saket Jajodia

Tecko Blog..!!

Follow me on Twitter @

Posts Tagged ‘Google Code’

How To Add Favicon In Blogger.com Blog

Hi! Everyone, wish you all happy and safe Christmas.
Today in this post I will tell you how you can make favicon in your Blogger.com blog. Favicon is what you see a small image in the corner of your browser’s tab/window (see in the below image). You might always see in Blogger.com blogs (*.blogspot.com) always have same Read more →

How To Create Playlist In Blogger.com Using JW Player

Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can create playlist using JW Player. As I told in my last post that few readers asked me how they can create Playlist using JW Player and how they can host files of JW Player in Google code. So in last post I told you how you can host files in Google code and if you want to know how to use and earn from JW Player Click here.

To make a playlist using JW Player you need to have an XML file where you will put all the videos link of your playlist.
Here how you can create JW Player Playlist XML file
1.       Open notepad in your computer
2.       Copy the below code
<?xml version='1.0' encoding='UTF-8'?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
<trackList>

   <track>
      <title>Video Name</title>
      <location>Video URL</location>
      <annotation>Video Description</annotation>
      <duration>Video Length (Time)</duration>
   </track>

</trackList>
</playlist>
Now copy the bold portion and paste it after </track> as much time you want (as much video will be in a playlist)
3.       Now change few things
i)        Video Name With the name of the video
ii)       Video URL with the URL of the video
iii)     Video Description With the video description
iv)     Video Length (Time) with the video length
Note: – Every time put different Name, URL, Description and Length
4.       After you made the playlist save that file
i)        Press Crtl+S (for save option)
ii)       Now change the Save as type: from Text Documents (*.txt) to All files (*.*)

iii)     An give the name of the file and after the name give .xml
iv)     Then click Save button
5.       Now upload this file to Google code hosting server or on your hosting server
To know how to upload file to Google code click here.
Here how you can make playlist using JW Player
1.       Go to Blogger.com –> Click on Design for the following blog –> Edit HTML
2.       Find the </head> tag
3.       Just before the end of head tag place the below code (if you haven’t place this code before for JW Player)
<script 
src="http://jajodiasaket.googlecode.com/files/swfobject.js"
type="text/javascript"/>

4.      Now place the below code where you want to
display your JW Player Playlist

<div name='jwppl1' id='jwppl1'>
<script type="text/javascript"> 
var so = new SWFObject
('http://player.longtailvideo.com/player.swf ','single'
,'600','320','8');
so.addParam('wmode','transparent');
so.addParam('allowScriptAccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('fullscreen','true');
so.addVariable('width','600');
so.addVariable('height','320');
so.addVariable('playlist','right');
so.addVariable('playlistsize','200');
so.addVariable('file','playlist.xml');
so.addVariable('image','image.jpg');
so.addVariable('plugins', 'ltas,gapro-1,googlytics-1,fbit-1');
so.addVariable('ltas.cc','AdSolution ID');
so.addVariable('gapro.accountid','Google Analytics ID');
so.write('jwppl1');
</script></div>
Change the following things before you place the code:
a)      Change The Longtail Video AdSolution ID
Change the AdSolution ID with your Longtail Video AdSolution ID and if you don’t have the AbSolution ID then you can sign up for free, to know how to signup Click Here . Or if you don’t want to show ads just remove this entire line ( so.addVariable('ltas.cc', 'AdSolution ID'); )
b)      Change the Google Analytics ID whit your ID (ID is something like UA-XXXXXXXX-XX)
c)       Change the playlist.xml with your Playlist XML file
d)      Change the image.jpg with your preview image URL (it it not necessary if you are using YouTube video URL)
There is a facebook share button plugin I have given if you want to remove it just remove the ,fbit-1 from this line so.addVariable(‘plugins’, ‘ltas,gapro-1,googlytics-1,fbit-1‘); .
Note: – If you want to add two player in one page then change the 1 in jwppl1 (in 1st line and in last 2nd line) with 2 in 2nd player, if you want to add three player then change it with 3 in 3rd player and so on.
Here is a demo of how JW Player Play will look like

If you are having problem in viewing the Demo Playlist Click here.

Hope it will help you in creating JW Player Playlist, if you have any question or problem let me know

How To Host Files On Google Code

Hi! Everyone, hope you all are fine.
Today in this post I will tell you how you can host files in Google code. As few my reader asked me how they can host files in Google code to so that they can create Playlist using JW Player (about creating playlist I will tell in next post) here is how you can. And hosting files in Google code not only help you in creating playlist for JW Player or any just it can also help you in many other ways like, hosting JavaScript, jQuery, CSS and many more. This can help you in Blogger.com blog also.

Here how you can create a project where you will host your file(s)
1.       Go to code.google.com/hosting
2.       At the bottom click on Create a new project
3.       Now fill the form accordingly
4.       After filling the form click on Create project button

Now your project is made where you can host your file(s)
                          

Here how you can host your files
1.       Go to your project
i)        Go to code.google.com/hosting
ii)       At the top-right corner of the page click on My favorites
iii)     Now select the project in which you want to host your file(s)

2.       Click on Downloads tab
3.       Then click on New download
4.       Fill the form accordingly and attach the file you want to host
5.       Then click on Submit file button

Now your file is hosted on Google code

Here how you can get the link of hosted file
1.       Go to the project where you have hosted the file
i)        Go to code.google.com/hosting
ii)       At the top-right corner of the page click on My favorites
iii)     Now select the project in which you want to host your file(s)

2.       Click on Downloads tab
3.       Now right lick on the download icon (beside the file of which you want the link)
4.       Now select
i)        Chrome : Copy link address
ii)       Epic/FireFox : Copy Link Location
iii)     Internet Explorer : Copy Shortcut
iv)     Opera : Copy Link Address
v)      Safari : Copy Link

5.       Now use that link copied link wherever/however you want
               
If you have any suggestion or want to tell anything let me know

Sign-in to your Multiply Google Account at the same time

Hi! Everyone, hope you all are fine.
As I told before Google is soon launching a new feature by which you can sign-in to multiple Google account. So, now Google have launched thes feature.

The feature by default comes off mode. By going to your Google account page you will see in the Personal Settings options there is a new settings which is Multiple sign-in setting, (if it’s not there then it will be soon available) near the Multiple Sign-in setting you will see its written Change link, click on it.

After clicking on the Change link you will be seeing Google is informing you that this is an advance feature and you can only use multiple sign-in to the following Google Product and Services.
1.       App Engine
2.       Calendar
3.       Code
4.       Gmail
5.       Reader
6.       Sites
7.       Voice
8.       Docs (Coming Soon)

When multiple sign-in get enables you will see a Drop down button at the top-right beside your email ID, by which you can switch to your one account to another intently and add your other Google accounts. You can only add up to three Google accounts. The account which you use to sign-in to another account, the 1st account will become your default account.
e.g.: you have 1st sign-in to the x1@gmail.com then using this ID you have signed in to the x2@gmail.com. So, the x1@gmail.com will become your default account.

These are other some things you may need to know or you can take a help from Google Help Center.
1.       If you use any product or services which don’t support this feature, you will automatically get into your default account for that product or service.
2.       Is you once signed out from any account in any product you will automatically will signed out from all other accounts.
3.       Enabling the multiple sign-in option will Disable your Offline products like Offline Gmail and Offline Calendar, as well as any browser bookmarks you’ve set to link to your accounts.
4.       You can make it enable or disable any time by going to the multiple sign-in setting page.

To add other accounts 1st enable the multiple sign-in setting. Once you have enabled the multiple sign-in for one of your Google account. Now here how you will able to add the other accounts to your 1st accounts. Go to the product or service which supports multiple sing-in and sing-in with your account which is enabled with multiple sign-in. Now you will see a drop down button beside your email ID at the top-right click on it. Select the ID you want to switch with or select the Sign-in to another account. Now entre your ID and password of which you want to access with and click on Sign In.

Let us know what you think about it.

Soon you can sign Into Multiple Google Accounts in the Same Browser

Hi! Everyone, hope you all are fine.
Do you maintain multiple Google Accounts on dally basis? And probably you wanted to login to your all the account at the same time. But at the time it is not possible to do with using the same browser (excluding Google Chrome) you need to use different browser for different login. In chrome you can open 2 accounts at the same time using Chrome’s incognito window by going to the Customize and control Google Chrome (Settings) -> New incognito window (shortcut key: Ctrl+Shift+N).
According to the Unofficial Google Operating System blog, Google is testing a new feature by which users can login to multiple Google account at same time by using same browser.
This service is currently being tested on some of the Google service like Gmail, Google Calendar, Google Reader, Google Docs, Google Sites and Google Code, but it’s likely that other Google services will be added when this feature will be available publicly. One disadvantage of this feature is that when you turn on the multiple sign-in, you won’t be able to get access through offline mode till the multiple sign-in is on.







Designed by Blogger Templates and Blog and Web