Skip to content

Commit

Permalink
chill with the seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
nivv committed Jul 5, 2024
1 parent 6cfaf46 commit 43bc8a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Jobs/GenerateResponsiveImagesJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
class GenerateResponsiveImagesJob implements ShouldQueue
{
use InteractsWithQueue;
use SerializesModels;
use Queueable;
use SerializesModels;

protected Media $media;

Expand Down
2 changes: 1 addition & 1 deletion src/Models/Video.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function registerMediaConversions(?Media $media = null): void
{
$this->addMediaConversion('thumb')
->nonQueued()
->extractVideoFrameAtSecond(20)
->extractVideoFrameAtSecond(2)
->performOnCollections('videos')
->fit(Fit::Crop, 480, 320);

Expand Down

0 comments on commit 43bc8a7

Please sign in to comment.