PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Srihari Sri  >  PHP You Thumb  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example usage
Class: PHP You Thumb
Generator of thumbnail images from YouTube videos
Author: By
Last change:
Date: 7 years ago
Size: 326 bytes
 

Contents

Class file image Download
<?php
require_once 'YouThumb.class.php';

$instant = new YouThumb("https://www.youtube.com/watch?v=zdQRwF-Tn_M");

echo
'<pre>';print_r($instant->getThumbs("all"));//"all","0", "1", "2", "3", "default", "hqdefault", "mqdefault", "sddefault", "maxresdefault"

echo "Default: ". $instant->getThumbs("default");//"default"

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