jackal / video-downloader-ext-vimeo
This package is abandoned and no longer maintained.
No replacement package was suggested.
Vimeo extension for jackal/video-downloader package
v0.5.0
2020-05-11 12:00 UTC
Requires
- php: >=7.1
- ext-json: *
- jackal/video-downloader: ^0.5
Requires (Dev)
- brainmaestro/composer-git-hooks: ^2.8
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2024-07-13 21:55:26 UTC
README
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');