Update VideoThumbnail pipeline

pull/1373/head
Daniel Supernault 6 years ago
parent e9c8646137
commit e14e18e6b4
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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);

Loading…
Cancel
Save