Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

lucajackal85/VideoDownloaderVimeoExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoDownloaderVimeoExtension

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality

Vimeo extension for jackal/video-downloader

Installation

composer require jackal/video-downloader-ext-vimeo

Usage

use Jackal\Downloader\Ext\Vimeo\Downloader\VimeoDownloader;

require_once __DIR__ . '/vendor/autoload.php';

$vimeo = '71281510';

$vd = new \Jackal\Downloader\VideoDownloader();
$vd->registerDownloader(VimeoDownloader::VIDEO_TYPE, VimeoDownloader::class);

$downloader = $vd->getDownloader(VimeoDownloader::VIDEO_TYPE, $vimeo, [
    'format' => [240,360],
]);

$downloader->download(__DIR__ . '/output.avi');