Location: PHPKode > scripts > YouTube Video Fetcher > readme.txt
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:


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

Return current item: YouTube Video Fetcher