Youtube Search Script
Mar 29, 2009 Miscellany
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.

March 30th, 2009 at 1:07 am
[...] Youtube Search Script PHP 4.3.1 | Liae Blog [...]