This commit is contained in:
@@ -194,7 +194,7 @@ func (ctl *posts) Play(ctx fiber.Ctx, id int64, user *model.Users) (*PlayUrl, er
|
||||
log.WithError(err).Errorf("medias GetByID err: %v", err)
|
||||
return nil, err
|
||||
}
|
||||
duration := asset.Metas.Duration + 30
|
||||
duration := 2*asset.Metas.Duration + 30
|
||||
if asset.Metas.Duration == 0 {
|
||||
duration = 60 * 5
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user