Your Ad Here

Archive for the 'Programming' Category

Wordpress Plugin: wpinvideo

April 27th, 2008 | Category: Programming, wordpress plugins

I searched around and couldn’t find an easy way to integrate Adbrite’s Invideo into a wordpress blog.

So I decided to develop my first Wordpress plugin.

I’m not a “fluffer” when it comes to writing so this is going to be short and sweet.

Simply add your video to adbrite and this plugin only needs three pieces of information that adbrite provides.

After you add your video to adbrite, they will provide you with some code to add to your website. Look for the line below.

abWritePlayer(XXXXXXX, YYY, ZZZ, “http://vid.adbrite.com/video/abplayer?”);

When posting in your blog simply type in:
[wpinvideo XXXXXXX,YYY,ZZZ]

This plugin has been added to Wordpress.org!

Click Here to visit WPInvideo on Wordpress.org

3 comments

You’re So Vain lyrics by Carly Simon

February 17th, 2008 | Category: Programming

You’re So Vain lyrics by Carly SimonYou walked into the party
Like you were walking onto a yacht
Your hat strategically dipped below one eye
Your scarf it was apricot
You had one eye in the mirror
As you watched yourself gavotte
And all the girls dreamed that they’d be your partner
They’d be your partner, and

You’re so vain
You probably think this song is about you
You’re so vain
I’ll bet you think this song is about you
Don’t you? Don’t you?

You had me several years ago
When I was still quite naive
Well, you said that we made such a pretty pair
And that you would never leave
But you gave away the things you loved
And one of them was me
I had some dreams they were clouds in my coffee
Clouds in my coffee, and

You’re so vain
You probably think this song is about you
You’re so vain
I’ll bet you think this song is about you
Don’t you? Don’t you?

I had some dreams they were clouds in my coffee
Clouds in my coffee, and

You’re so vain
You probably think this song is about you
You’re so vain
I’ll bet you think this song is about you
Don’t you? Don’t you?

Well, I hear you went up to Saratoga
And your horse naturally won
Then you flew your Lear jet up to Nova Scotia
To see the total eclipse of the sun
Well, you’re where you should be all the time
And when you’re not, you’re with
Some underworld spy or the wife of a close friend
Wife of a close friend, and

You’re so vain
You probably think this song is about you
You’re so vain
I’ll bet you think this song is about you
Don’t you? Don’t you?

No comments

PHP: Youtube Video Downloader

November 27th, 2007 | Category: Programming

Looking to create your own PHP based Youtube Video Downloader? Here is a PHP function that takes the videos URL as input (which looks like: http://youtube.com/watch?v=aFgJwRUojKw), and outputs the URL to download the video.

Read more

No comments