Retrieve YouTube Video Information Using PHP

It's only fair to share...Share on Facebook0Share on Google+0Tweet about this on Twitter0Share on LinkedIn0Pin on Pinterest0Digg thisShare on StumbleUpon1

YouTube With PHP

Using this class we can retrieve information about videos in YouTube Using PHP. Its send HTTP request to YouTube Web services API server to get the information about a YouTube video. Using this class, we can also search and retrieve information about videos through given keywords.
List of all the major methods:

  1. player(): Provide the embed YouTube video code.
  2. thumb_url(): Provide the thumbnail image URL
  3. thumb(): Display the thumbnail image
  4. info(): provide all the information (Title, Description, Total video views, Rating) about the youtube video.
  5. search(): Search matching video based on keyword.


Tags:, ,

Leave a Reply

Your email address will not be published. Required fields are marked *


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