Your Ad Here

Simple PHP script using the YouTube API (with pagination) Part 1

The original post has been moved, but you can view the new revamped YouTube API Class on our YouTube API Class: Readeaux.

View the new post here

25 comments so far

  1. [...] Domina el API de YouTube con PHP, muy buen artículo para crear una página simple de resultados con la cual podremos aprovecharnos de todo lo que YouTube nos ofrece. [...]

  2. bryan August 28, 2006 6:31 pm

    Good article meshach.

  3. Meshach August 28, 2006 7:16 pm

    gracias.

  4. netchicken August 29, 2006 9:05 am

    Hi, I get the following error when running

    Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/gary/public_html/xmb/xmb/youtube-videos.php

    What does this mean?

    Thanks :)

  5. [...] Simple PHP script using the YouTube API (with pagination) Part 1 « WaxJelly For the purposes of this tutorial, you’ll only need to change one variable to actually see the script in action. If you don’t have a youtube API developer ID, you can get one for free here. Other than that, this is a primative script that grabs the in (tags: youtube api php using tutorial) [...]

  6. foobarph August 30, 2006 3:33 am

    well, guess i should compile all of the source code embedded on this tutorial to see if it will work. :)

  7. bryan August 30, 2006 4:16 am

    You sure could :D

  8. Tim August 31, 2006 2:07 am

    Nice indeed. Kinda impractical in the way it was linear coded though.

    You also need some formatting on the source in the TEXTAREA HTML form. Speecificlly word wrapping.

  9. Meshach August 31, 2006 3:43 am

    Thanks, Tim. Actually, the idea here was to just walk through the functionality of the site. Try part 2 for a less “linear” feel.

  10. Juan Diego September 1, 2006 3:57 am

    Cool article, is the basic stuff but is a good start

  11. bryan September 1, 2006 5:14 am

    Thanks Juan; glad it could help.

  12. Javier Vázquez September 1, 2006 8:46 pm

    Thanks a lot!! I’ll test next week

  13. maadu January 19, 2007 5:53 am

    dai punnaakku…

  14. vaibhav March 30, 2007 1:37 pm

    When php4 version will be available?

  15. ShinZaiaku June 26, 2007 1:57 am

    Read the other youtube post for php4 version.

  16. boko111 June 30, 2007 3:25 pm

    The script is cool but i miss a rating option is it posibble to put it in the script?

  17. g47o July 23, 2007 8:00 am

    Ok, muchas gracias lo probaremos

  18. YouTube Video Grabber August 28, 2007 2:28 pm

    I managed to get the script working bug free and it compliments my youtube video downloader script now! Great script…love it.

  19. Pat September 7, 2007 2:06 pm

    Very good script, easy to customise. I did hook up with a downlaod scprit, check it out :

    http://www.ilikeyoutube.com/

  20. Zaiaku September 7, 2007 10:24 pm

    Nice customization ideas.

  21. Manele September 18, 2007 9:56 pm

    i like this script but i think that you can improve making the links permanent.

  22. Dshe November 5, 2007 7:33 am

    @Pat

    How did you do that?

    Pls share with us…

  23. LjxAykok March 12, 2008 4:26 pm

    Escrambler cox
    Escrambler cox

  24. lucki March 20, 2008 10:55 am

    This api doesn’t work anymore. All websites with this API give error:

    Notice: Undefined index: video_list in /home/sites/ilikeyoutube.com/public_html/newyoutube.class.php on line 462

    Notice: Undefined index: video_list in /home/sites/ilikeyoutube.com/public_html/newyoutube.class.php on line 486

    Notice: Undefined index: video_list in /home/sites/ilikeyoutube.com/public_html/newyoutube.class.php on line 488

    Notice: Undefined index: video_list in /home/sites/ilikeyoutube.com/public_html/index.php on line 17

    and

    Warning: Invalid argument supplied for foreach() in G:\xampp\htdocs\web\….\index.php on line 37

  25. Pat March 27, 2008 8:33 pm

    Watch YouTube in higher definition, and download MP4 videos, check this site :

    http://www.ouideo.com/youtube/

    Really good if you have the bandwidth.

Leave a comment

Please be polite and on topic. Your e-mail will never be published.