Actions
Bug #99312
closedPSR-14 Event for fetching YouTube/Vimeo preview image
Start date:
2022-12-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
We would like a PSR-14 event after fetching the preview image for YouTube and Vimeo video's. The reason for this is that we often run into rate limits for fetching the thumbnails from YouTube. This results in a bad processed image which is cached. We want to build a command controller which tries to fetch the images again after a day or a few days and if successful remove the processed images for that thumbnail.
The PSR-14 events should be in TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\YouTubeHelper::getPreviewImage and TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\VimeoHelper::getPreviewImage just before the return.
We will add a patch for this later today.
Actions