Monthly Archives: September 2007

Custom YouTube Player and Adsense

There is a lot of talk on the net today about a new embedded version of YouTube that allows you to have Adsense attached. So far there is not an actual functioning player to launch this, but obviously it is on the horizon.

See this page at YouTube.

But, you can work up your own YouTube custom player and preload it with your Favorites or other channels. I have setup a page to demonstrate. CyberCoder – Custom YouTube.

The information at YouTube is located here.

API Explained

Since I spend so much time working and talking about API’s I thought it would be a good idea to show others what an API is, and what it does.

This video does a good job of explaining in very easy terms how API’s work. Whether you are interested in the Google, YouTube, Facebook or almost any other system an API can give you the access to a wealth of information to mashup your data and ideas with.

Check it out and let me know if you find it helpful.

Social Networking realities

Social Networking is one of the hottest topics on the Internet these days and one that takes a lot of time and thought to really work through. I have tried every possible site that has launched. So far I have yet to find one that I just have to have. To me they are similar to the online experience BEFORE the Internet, back in the days of Compuserve and Prodigy. You log on and you stay in one place. Yes there are a lot of features that are just now becoming available, but they all act like the final destination.

Part of my thought process has been how to merge the Social aspects of the Networks with existing sites and make each of our sites more social within itself. Comments are the most common social aspect that blogs use, but there has to be more that we can do to engage our audience.

This morning as I was going through my RSS reading I came across this excellent post by Chris Anderson. Take the time to read it, he really hits some excellent points.

…social networking as a feature, not a destination… Source : The Long Tail


Add YouTube Layout to Google AJAX API

First things first, a big thanks to my friend Garry Conn for the great idea. Garry had a post this morning (Free YouTube Layouts) on how to add a You Tube layout to videos embedded in a blog post. I had not seen this done before and really liked the way it adds a little something to an otherwise plain video embed. Of course, the bad news is this caused me to get off track on my objectives for the day to see if I could do the same thing with the Google AJAX API videos, like I need any help getting off track.

By adding an image to the background and a few little tweaks of the CSS file I was able to get the same result. I think it actually helps augment the video player and video title. To see the results click on one of the URL’s below and click on a video in the left sidebar.

I placed this new page in its own folder to demonstrate the ability of making a dynamic page that can have different URL structures. Using PHP I setup a default variable or you can pass any variables to create the following.

  • Page Name
  • Page Title
  • Keywords
  • Description
  • API results

Examples : (default variable is “Blog Search”)

http://www.cybercoder.net/layout/

http://www.cybercoder.net/layout/You-Tube-Layouts

http://www.cybercoder.net/layout/You-Tube-Layouts/

http://www.cybercoder.net/layout/You-Tube-Layouts.html

The search box will pass input to PHP and the result will be displayed with the following URL. It is not hard to convert this search box to use any of the above URL structures.

http://www.cybercoder.net/layout/index.php?a=You+Tube-Layouts

This project took approximately 2 hours to complete. The bulk of the time was getting a good image formatted just right for the results. No programming was needed on the actual page as the CSS file took care of everything once the image was formatted. I also use the htaccess file to create the redirects for the multiple URL structures.

Google AJAX APIs

Google AJAX API is a huge emerging technology that a lot of mainstream bloggers know about but don’t put forth the effort and time to learn about. As I am a very successful programmer and web developer and bring a lot of business to the table for many clients I work with, utilizing Google AJAX API is one of the most asked for services I provide on a professional level. A good example of this is my work with Garry Conn. He had the ideas but needed help with the implementations. The API was a perfect fit for some of Garry’s blogs and fit his need. Once I educate my clients about Google and their amazing technology, I have clients practically drooling and want in on a piece of the pie.

What Is Google AJAX API?

As a web developer, you may be asking this question. More so, you may be asking “How can using Google API provide a better professional service to my clients?” or, “How can my clients expand and grow their business within their niche market using Google API?”. The key thing to know and understand is the fact that the Internet itself and the people who use the Internet are constantly growing and expanding and demanding more and more. The Internet has shifted from an era of having flat files and HTML code into a super information galaxy that uses advanced technology coupled with excellent static or machine readable content. Google API is here to present masses of information in a robust way. Here is an example:

This morning I started playing with the Google AJAX API again. One idea I have had floating around in my head was to mash it up so that I could get search results for Blogs, Webs, News, Images and Videos on a single page with a Map to a location. This really wasn’t hard and was possible with a small amount of modifications to other search pages I had created. Here is the result. The page will take any location you pass to it and create a dynamic page of results. Just separate the words with a dash “-” and complete the URL with a forward slash “/”.

http://www.cybercoded.net/map/San-Diego-Zoo/

http://www.cybercoded.net/map/Dallas-Texas/

It’s hard to believe I have been involved with the Google AJAX APIs since June of 2006. The programs have come a long way since then. In September of 2006 I came up with the idea for the Google Video Bar and Mark Lucovsky and team whipped it up into a functional part of the system. In March of 2007 I came up with the Blog Bar idea and the team again made it a reality. This type of response from Google as been a real surprise, but I think that is what sets their work apart from so many others.