1. Go to this page and download the library: Download fernandovaller/thumbnail library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
fernandovaller / thumbnail example snippets
use FVCode\Thumbnail\Thumbnail;
e|vimeo URL video';
// The returned information is ID and URL of the thumbnail
$data = $th->get($url);
use FVCode\Thumbnail\Thumbnail;
ww.google.com'
];
$th = new Thumbnail($config);
$url = 'youtube|vimeo URL video';
// The returned information is ID and URL of the thumbnail
$data = $th->get($url);
use FVCode\Thumbnail\Thumbnail;
e|vimeo URL video';
// The returned information is array [title, thumbnail_url, video_id, ...]
$data = $th->getNoembed($url);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.