Login   Register  
PHP Classes
elePHPant
Icontem

YouTube Trailer: Search and embed movie trailers from YouTube

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (22)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-02-26 (3 years ago) RSS 2.0 feedStarStarStar 59%Total: 1,034 All time: 3,280 This week: 840Up
Version License PHP version Categories  
youtube-trailer 1.0GNU General Public Lice...5.2PHP 5, Searching, Web services, Video
Description Author  
PHP Programming Innovation award nominee
March 2010
Number 3


Prize: One copy of Delphi for PHP
This class can be used to search and embed movie trailers from YouTube.

It can send an HTTP request to retrieve and parse the YouTube search result pages for a trailer of a given movie.

The class extracts the identifier of the first result video and generates HTML to embed that video in a Web page.
Picture of Nitesh Apte
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 11 packages by
Country: India India
Age: 30
All time rank: 25116 in India India
Week rank: 157 Up16 in India India Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagejs (1 file, 1 directory)
Plain text file class.movietrailer.php Class Fetch movie trailer
Accessible without login Plain text file index.php Example index page
Accessible without login Plain text file LICENSE.TXT Lic. License File
Accessible without login Plain text file movietrailer.php Example caller page

  Files folder image Files  /  js  
File Role Description
Files folder imagefancybox (17 files)
  Accessible without login Plain text file jquery.js Data Jquery Library

  Files folder image Files  /  js  /  fancybox  
File Role Description
  Accessible without login Image file fancy_closebox.png Data Image
  Accessible without login Image file fancy_left.png Data Image File
  Accessible without login Image file fancy_progress.png Data Image file
  Accessible without login Image file fancy_right.png Data image
  Accessible without login Image file fancy_shadow_e.png Data image
  Accessible without login Image file fancy_shadow_n.png Data image
  Accessible without login Image file fancy_shadow_ne.png Data image
  Accessible without login Image file fancy_shadow_nw.png Data image
  Accessible without login Image file fancy_shadow_s.png Data image
  Accessible without login Image file fancy_shadow_se.png Data image
  Accessible without login Image file fancy_shadow_sw.png Data image
  Accessible without login Image file fancy_shadow_w.png Data image
  Accessible without login Image file fancy_title_left.png Data image
  Accessible without login Image file fancy_title_main.png Data image
  Accessible without login Image file fancy_title_right.png Data image
  Accessible without login Plain text file jquery.fancybox-1.2.6.css Data CSS File
  Accessible without login Plain text file jquery.fancybox-1.2.6.js Appl. JS File

Innovation Award  
PHP Programming Innovation award nominee
March 2010
Number 3


Prize: One copy of Delphi for PHP
YouTube allows you to embed videos in external site pages, but you need to know the identifier of the specific video you want to embed.

This class can automatically embed trailers of movies from YouTube just giving the movie names.

Manuel Lemos
 Version Control Unique User Downloads Download Rankings  
 0%Total:1,034All time:3,280
 This week:0This week:840Up
User Ratings User Comments (2)  
 All time
Utility:87%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:938