Simple YouTube API Class in PHP: Redeaux — Revision 2 (update)

This post has been moved.

Advertisements

63 Responses

  1. Me parece una buena noticia que el viernes se lanze la version php4 lo estaba esperando desde hace mucho tiempo bueno te dejo un codigo que parese funcionar bien

    http://e.leven.com.ar/u2b/downloads/1.0.zip

  2. Great job! I’m can’t wait to start modifying it. I have a few personal ideas that I want to try out myself that I’ve been working on.

  3. Well post them! Come on! That’s the point! Open source! Community!

  4. Share your ideas.

  5. SE optimized url’s but don’t think many people would care about them much. I hoping that I will still be able to intergrate your script with other forum and cms scripts. A download option would be good especially if it will be able to convert on the fly.

  6. I am quite curious to see how this API works out.

    I have a few sites that are already depending on a custom script and setup, but one thing that could be interesting would be to have API calls to check and verify a video is still available.

  7. Lars,
    I’ll look at putting this into a class method for ya ;)

  8. OK its friday time to post the script so I can start to get to work on it :)

  9. Friday indeed post that baby

  10. Now I’m wondering if they forgot. You ever waiting inline for a new gaming console. This is looking like deja vu to me. LOL

  11. yeah I was waiting myself, I thought it would be out by now.

  12. Hi.

    It is cool..
    So when will you upload new version?

  13. Hi its good script for youtube galery.i tried make a scripts seo friendly but i didn’t .if you make this script its very usefull ..

  14. I have a added a few things to make it more SEO friendly. I’m waiting for this new version to come out so I can add it to it, if anything needs to be changed from my original.

  15. I also made some changes to fix some errors but its really useless because the new version fixes them and more, not sure why the owner haven’t responded to us since the 17th but was active in other post on the site.

  16. hey!

    It’s not as easy as it sounds :) Sorry to miss the deadline, but personal matters have gotten in the way. I’m not duckin’ your comments, just busy that’s all…DSL sucks too so my house is out of internet.

    I’ll keep you posted.

  17. LOL of course DSL succs. Thanks for letting us know what’s going on.

  18. de donde se descarga?

  19. Great work on the class. Waiting anxiously for the update! heheheh

  20. Well since I’m almost done setting up a new site, I really wanting to intergrated this script with it. I had a few ideas about intergration with it. I’m sure everyone is understanding personal matters comes first though.

  21. Any update on this?

  22. I was wodnering that too. We went way pass the due date.

  23. I don’t see any support for search by title? (The official api doesn’t even have this)

  24. Lotsa love to you! It IS the missing secret ingredient for your class, right? – that was a hint ;-)

  25. It’s been a while since any word of the new version.

  26. I’m still waiting the upload of the new version…

  27. Great Class! cant wait to start playing with the new version. Have a thanks and a link from my site to yours.

  28. Just checking if a new date is set to release the new code? Looking forward to using the new features! thx

  29. any updates on this being released?

  30. I need the coding to display related video in the video player page ajax

    any idea how to add comment system?

    Please help

  31. friday… which year?

  32. Fatal error: Cannot use string offset as an array in /home/friend/public_html/videos/youtube.class.php on line 177

    I get errors like this very frequently when loading pages, has this been fixed?

  33. how long before new release

  34. Also interested if this has been released yet? Couldn’t locate a download button as in the previous post.

  35. Wow I almost forgot all about this. I wondering what happened to the new version aswell.

  36. buen reproductor de videos youtube yu mas lo pueden descargar de http://pcxd.com.ar

  37. Hi,
    I am longtime waiting for your new version. Any good news? Please…..

  38. Hello! Great stuff! I read the first post and look forward to seeing a new version. Second, do you do simple custom jobs for the clueless like myself? I don’t know where to begin.

    Thanks!

    Bryan

  39. where is the link for the new version, will you gona post it here or update the download link on first version page?

  40. Is the new version to use in php4 also released? If yes where is the link to download.
    I got to use the other one on php5 . It is working. But i need in PHP4.Please reply

  41. Bryan, you’re the real genius behind this YouTube script I found at HotScripts.com (http://www.hotscripts.com/Detailed/74755.html).

    I was wondering if you could take a look at the script and tell me, us, if it gets your stamp of approval: http://ooglester.com/

    I’m not a coder and it makes me nervous using scripts from sources that aren’t yet proven to be trustworthy.

    And because you have the potential for greatness, could you also make a move to create a downloadable script along the same lines as this ooglester character?

    Package it in one simple download. I’d pay money for that. I think you have lighting here! :D

  42. ONLINE – DRUGSTORE!
    PRICES of ALL MEDICINES!

    FIND THAT NECESSARY…
    VIAGRA, CIALIS, PHENTERMINE, SOMA… and other pills!

    Welcome please: pills-prices.blogspot.com

    NEW INFORMATION ABOUT PAYDAY LOANS!

    Welcome please: payday-d-loans.blogspot.com

    GOOD LUCK!

  43. Seeds for Wealth:

    Meshach and I are collaboratively the genius’ behind the YouTube API class.

    I don’t mind, but I’d appreciate a link back to this blog on your software if you did in fact build off of ours.

    Just give credit where credit is due is all we ask.

    “by waxjelly.com” or anything will do, thanks.

  44. @bryan

    First let me say thanks so much for this wonderful script. It is AWESOME!!!

    I have been working hard on a site using ooglester’s adaptation. I just wanted to share it with you.

    http://www.ubuntuce.com/uketube/index.php
    http://www.ukulelevideos.com (once forwarding begins)

    I have a link back to this site as well. :)

    Thanks, Jereme
    http://www.TheJesusTV.com

  45. Quick dirty fix for the empty result error.

    LOCATE:
    $this->return = file_get_contents(youtube::return_call());

    ADD AFTER:

    $contentword = “length”; //word to look for.
    $contentword = preg_match( “/$contentword/i”, $this->return ); // //locate word lenght from youtube query which is not found if the there are no videos results.

    if($contentword != “”)
    {
    echo “no results”;
    // do a redirect here with or whatever…
    die();
    }
    else {
    //there are results
    }

    IMPORTANT, CHANGE THE “” AND ” …. (this bogs changes them)…
    good luck

  46. 4 months and about 24 “fridays” later… is the new version ready yet?

  47. hi Bryan, i’m not a php programmer but i’ve fixed some minor things as ugly photo id number appearing on top of the page, and broken pagination problem (just add the variable pagenumber to the links).

    But i need to solve 2 things:

    1)how to use more than one tag for search (example: italy + food)
    2) how to sort “most recent” results for the my tags. Could you help me writing me via email please?

  48. sgrunt
    thanks to you the id is fixed – remove the echo(which is in the class.php)

    please can you say exactly how you did the broken pagination problem.

  49. has anyone managed to fix the related video problem

    where the related may be example 8 more pages

    now it just keeps going so you get page 9 of 8 page 10 of 8 etc..

    needs fioxing or search engines will see it as double content and a waste site

  50. I have updated my two sites with the new YouTube API!

    I used a different script that is available at http://www.bizzarmedia.com for $5.00. (I am not the developer).

    You can check out my new updated sites below.

    http://www.UkuleleVideos.com
    http://www.LinuxClips.com

    Thanks, Jereme

  51. nice script also…

  52. Hi!

    So nobody have the new version? Where it can be downloaded? I’ve integrated it into joomla and seyret (a fantastic video component) but it’s really full of bugs…

  53. Hi

    I would like to show the videos just in Thai Languages.
    How can I set the YouTube API.

    Many Thanks
    ma

  54. can i post here?

  55. We have just added a new YouTube Downloader Script at http://www.ooglester.com!

    Thanks, Jereme
    http://www.TheFreeTube.com

  56. is there any link for the new version. Please reaaly nice script but I only can find the v1. And my online server runs on PHP4.

    Thanks in advance

  57. Wow I’ve been gone for so long finally found the address here again and I missed this. Wow I am so behind right now.

  58. Hello webmaster
    I would like to share with you a link to your site
    write me here preonrelt@mail.ru

  59. The site has been changing but no currently developments are being shown if there are any.

  60. Hi there mates, pleasant post and nice arguments commented at this place, I am really enjoying by these.

  61. Hey there I am so thrilled I found your site, I really found you by accident, while I was
    browsing on Aol for something else, Anyways I am here now and would just like to say cheers for a remarkable post and a all round entertaining blog (I
    also love the theme/design), I don’t have time to look over it all at the minute but I have book-marked it and also included
    your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the superb b.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: