Generate Youtube Thumbnail With Player FrameGenerate Youtube Thumbnail With Player Frame
Generate Youtube thumbnail with player frame from URL or embedded codeGenerate Youtube Thumbnail With Player Frame
Generate Youtube thumbnail with player frame from URL or embedded codeOverview
By default, Youtube has API to get the thumbnail of any video but it just has image only without player frame.
This script allow you to generate Youtube thumbnail image with player frame from URL or embedded code. Currently support output image format are JPG, PNG, BMP and GIF
Features
- Can run on command line to generate youtube thumbnail image with player frame
- Can run on browser to generate youtube thumbnail image with player frame
Requirements
- PHP 5.x+
- Webserver
Instructions
Before run this script, please double check the permision of data folder and make sure it is writeale.
There are two way to run this script:
1. Via command line: just simple open a terminal and type:
php cli.php -u <your youtube url> -f <your image format> -q <your image quality>
or
php cli.php --url <your youtube url> --format <your image format> --quality <your image quality>
Which:
-u, --url: Is Youtube URL you want to generate thumbnail with player frame
-f, --format: Is optional, your expected image format. Currently support: JPG, PNG, BMP and GIF
-q, --quality: Is optional, and ranges from 0 (worst quality, smaller file) to 100 (best quality, biggest file). The default quality value is 100
Via web browser: Open your favorite browser and enter the path to index.php, example: http://localhost/youtube-player-frame.
Enter all information and click Submit then you will get the generated thumbnail with player frame.
Other items by this author
PHP Script Installation Service
Don't worry about the installation of your script! Have your PHP Script installed for you.
|
$39 | Buy now |
Category | Scripts & Code / PHP Scripts / Multimedia / Video |
First release | 27 January 2021 |
Last update | 27 January 2021 |
Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4, PHP 5.x, PHP 5.0, PHP 5.1, PHP 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6 |