AfterVideoPreviewFetchedEvent
FinalYes
Allows to modify a generated YouTube/Vimeo (or other Online Media) preview images
Table of Contents
Methods
- __construct() : mixed
- getFile() : File
- getOnlineMediaId() : string
- getPreviewImageFilename() : string
- setPreviewImageFilename() : void
Methods
__construct()
public
__construct(File $file, OnlineMediaHelperInterface $onlineMediaHelper, string $previewImageFilename) : mixed
Parameters
- $file : File
- $onlineMediaHelper : OnlineMediaHelperInterface
- $previewImageFilename : string
getFile()
public
getFile() : File
Return values
FilegetOnlineMediaId()
public
getOnlineMediaId() : string
Return values
stringgetPreviewImageFilename()
public
getPreviewImageFilename() : string
Return values
stringsetPreviewImageFilename()
public
setPreviewImageFilename(string $previewImageFilename) : void
Parameters
- $previewImageFilename : string