YouTube: Embed YouTube videos in Web pages

Recommend this page to a friend!

Picture of Nemanja Avramovic
Name: Nemanja Avramovic <contact>
Classes: 9 packages by
Country: Serbia Serbia
Age: 33
All time rank: 1971 in Serbia Serbia
Week rank: 713 4 in Serbia Serbia
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download .zip .tar.gz   Install with Composer  
This class can be used to embed YouTube videos and the respective thumbnails in pages of any Web site.

It takes the URL of a video page in the YouTube site and parses it to extract the video identifier.

The class can generate HTML to embed a player to show the video in other Web site pages. The embedded video player width and height is configurable.

The class may also generate HTML to display thumbnail images of the videos.

  Classes of Nemanja Avramovic  >  YouTube  >  Download .zip .tar.gz  >  Support forum (7)  >  Blog  >  Latest changes  
Name: YouTube
Base name: youtube
Description: Embed YouTube videos in Web pages
Version: 1.0.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 5784 users
All time rank: 399
Week users: 0 users
Week rank: 251
  Groups   Screenshots   User ratings   Applications   Files  

HTML HTML generation and processing View top rated classes
Video Movies and video data generation and manipulation View top rated classes

File Role Description
screenshot.jpg Screen Screen Shot

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (89%) Good (85%) - Good (85%) - - Sufficient (61%) 1176
Month: Not yet rated by the users

  Applications that use this package  
phpMyChat Plus
Nice HP/MySQL AJAX driven chat script

If you know an application of this package, send a message to the author to add a link here.

File Role Description
example.php Example Example of usage
youtube.class.php Class Class file

Install with Composer - Download all files: youtube.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

For more information send a message to info at phpclasses dot org.