ivoba/video-preview-image-extractor
Composer 安装命令:
composer require ivoba/video-preview-image-extractor
包简介
Video Preview Image Extractor
README 文档
README
Video Preview Image Extension for ImageExtractor
Gets preview images from embedded videos in a html text. Supported platforms are:
- Vimeo
- Youtube
- Dailymotion
Usage
$extractorList = [new VimeoExtractor()]; $extractor = new ImageExtractor($extractorList, $filter = []); $images = $extractor->extract(file_get_contents($file));
A factory method for the default VideoPreviewImageExtractor is provided:
$extractor = VideoPreviewImageExtractor::create();
Testing
$ phpunit
Contributing
Please see CONTRIBUTING for details.
Credits
- Ivo Bathke(https://github.com/ivoba)
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-09-04