Skip to content

Commit 389b084

Browse files
committed
Switched video thumbnail generation to use EVENT_GET_THUMB_PATH
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent bdd6b6a commit 389b084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/Transcode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ public function getVideoUrl($filePath, $videoOptions): string
206206
* generated if it doesn't exists
207207
* @param bool $asPath Whether we should return a path or not
208208
*
209-
* @return string URL or path of the video thumbnail
209+
* @return string|false|null URL or path of the video thumbnail
210210
*/
211-
public function getVideoThumbnailUrl($filePath, $thumbnailOptions, $generate = true, $asPath = false): string
211+
public function getVideoThumbnailUrl($filePath, $thumbnailOptions, $generate = true, $asPath = false)
212212
{
213213

214214
$result = null;

0 commit comments

Comments
 (0)