(PHP) Get all information from a YouTube video

This code snippet gets all information from a YouTube video (title, description, duration, thumbnail url, thumbnail width, thumbnail height, etc..) using the video id and YouTube API. (Sorry about my bad english)

  1.  
  • Posted by on January 1st, 1970
This entry was posted in PHP and tagged , , , , , , , , , , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.

4 Comments

  1. Posted April 9, 2012 at 8:39 am | Permalink

    good

  2. Saravanan
    Posted October 2, 2012 at 3:04 am | Permalink

    It is use full of simplexml_load_string in CURL method instead of using simplexml_load_file. In some of remote server the simplexml_load_file is not accept. Thanks

  3. Mads
    Posted March 8, 2013 at 12:08 am | Permalink

    Awesome! Is there a way to get the info from a feed (like: http://www.youtube.com/feed/UCk1SpWNzOs4MYmr0uICEntg)?

    Thanks

  4. Pavel
    Posted May 24, 2013 at 5:09 am | Permalink

    really, good! Thanks you.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

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

Why ask?