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:
- player(): Provide the embed YouTube video code.
- thumb_url(): Provide the thumbnail image URL
- thumb(): Display the thumbnail image
- info(): provide all the information (Title, Description, Total video views, Rating) about the youtube video.
- search(): Search matching video based on keyword.