Skip to content

Commit 3bfa6c5

Browse files
author
Andrew Welch
committed
fix: Change reference to now renamed DefineAssetThumbUrlEvent::path property
1 parent 940c2c3 commit 3bfa6c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Transcoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static function (DefineAssetThumbUrlEvent $event) {
185185
if (AssetsHelper::getFileKindByExtension($asset->filename) === Asset::KIND_VIDEO) {
186186
$path = Transcoder::$plugin->transcode->handleGetAssetThumbPath($event);
187187
if (!empty($path)) {
188-
$event->path = $path;
188+
$event->url = $path;
189189
}
190190
}
191191
}

0 commit comments

Comments
 (0)