Video Preview Image Extension for ImageExtractor
Gets preview images from embedded videos in a html text. Supported platforms are:
- Vimeo
- Youtube
- Dailymotion
$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();
$ phpunit
Please see CONTRIBUTING for details.
- Ivo Bathke(https://github.com/ivoba)
The MIT License (MIT). Please see License File for more information.