PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Biagio Vincenzo Mamone Neto  >  YouTube Video Fetcher  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: readme file
Class: YouTube Video Fetcher
Retrieve YouTube video files in MP4 format
Author: By
Last change:
Date: 3 years ago
Size: 641 bytes
 

Contents

Class file image Download
This package only contain one needed file (the class itself).

The class has only one public method (the one you have to call), which is downloadVideo.

This method has one needed argument (the youtube video ID, e.g. dkIIDKb4Dw8) and one optional (the quality)

Some of the "quality codes" are:

5  -> 240p
34 -> 360p
35 -> 480p
22 -> 720p

A complete list of "quality codes" can be found at wikipedia:

en.wikipedia.org/wiki/Youtube#Quality_and_codecs


The default saving video folder is "video/"

You can change it in the class file.

Remember to set the needed permitions to this folder!

Thanks for downloading my class,
Biagio Mamone