diff --git a/backend/app/http/posts.go b/backend/app/http/posts.go index 889e8d2..d1cccf3 100644 --- a/backend/app/http/posts.go +++ b/backend/app/http/posts.go @@ -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 }