Skip to content

Commit

Permalink
Get embed videos too
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Mar 9, 2021
1 parent b7910cf commit d107421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions objects/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,9 @@ static function getThumbsFromLink($link, $returnFileName = false) {
if(!@filesize($returnTmpfname)){
if(@filesize($returnTmpfname.'.webp')){
$returnTmpfname = $returnTmpfname.'.webp';
}else
if(@filesize($returnTmpfname.'.jpg')){
$returnTmpfname = $returnTmpfname.'.jpg';
}
}

Expand Down

0 comments on commit d107421

Please sign in to comment.