Update VideoThumbnail pipeline

This commit is contained in:
Daniel Supernault 2019-06-09 12:53:15 -06:00
parent e9c8646137
commit e14e18e6b4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -42,7 +42,7 @@ class VideoThumbnail implements ShouldQueue
$name = last($path); $name = last($path);
try { try {
$t = explode('.', $name); $t = explode('.', $name);
$t = $t[0].'_thumb.png'; $t = $t[0].'_thumb.jpeg';
$i = count($path) - 1; $i = count($path) - 1;
$path[$i] = $t; $path[$i] = $t;
$save = implode('/', $path); $save = implode('/', $path);