Youtube Search Script

I’m looking for a PHP script do use with google/youtube’s API. The script will not only use the feeds, but also allow users to login to youtube and other video hosting sites, and upload videos directly from my website.

I know there are lot of other useful scripts, but I want something that is simple and plus it works with PHP 4.3.1, that is what I have with my hosting.

Everywhere I read, there are a lot of scripts for PHP 5.

Here is what I have done so far.

  • I downloaded http://magpierss.sourceforge.net/ from there.
  • Downloaded Jquery and  also Ceebox from here, http://catcubed.com/tag/jquery/
  • Parsed the feed and it works nicely.
  • But I’m stuck :
  • What fun is there spending a lot of time creating a script that only searches videos and no more ? Besides, searching videos can be done with plain JavaScript too.

Before I continue, here are some Ifs:

If your host supports PHP,

{ http://code.google.com/apis/youtube/code.html#PHP }

If you want javascript,

{ http://www.google.com/uds/solutions/wizards/videobar.html }

if you want the best free php script,

{ http://www.clip-motion.com/ – it’s a good one. }

So, while I am still searching for alternative ways to get this API working,  following is a brief code that works. It’s in its basic form. But you might actually enjoy learning as I am doing with this script.

I will share with you the final script as it develops further.

Thank you.

Download Script

011





3 Responses to “Youtube Search Script”

  1. How can you port a wordpress plugin to a php web app? Says:

    [...] Youtube Search Script PHP 4.3.1 | Liae Blog [...]


  2. Musique Gratuit Says:

    Nice api search video from youtube


  3. Ruben Says:

    this was just an experiment. i would not recommend this script for a large volume search and it usage a lot of bandwidth. but if you are on php 4 and if you are out of luck, you might give it a try. also there is no need to use this function as youtube now allows various other means to do the same thing such as using simple java script etc. look under their developer API help section for further instructions.


Leave a Reply

Your Name Please :

Email Address (Will not be shared and Published Here)

Your Web Address If you have one:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>