feat: timestamp

This commit is contained in:
Nevo David 2025-07-04 23:01:56 +07:00
parent 477dc8b937
commit 9f9bce6906
1 changed files with 2 additions and 2 deletions

View File

@ -226,10 +226,10 @@ export class InstagramProvider
? firstPost?.media?.length === 1
? isStory
? `video_url=${m.path}&media_type=STORIES`
: `video_url=${m.path}&media_type=REELS`
: `video_url=${m.path}&media_type=REELS&thumb_offset=${m?.thumbnailTimestamp || 0}`
: isStory
? `video_url=${m.path}&media_type=STORIES`
: `video_url=${m.path}&media_type=VIDEO`
: `video_url=${m.path}&media_type=VIDEO&thumb_offset=${m?.thumbnailTimestamp || 0}`
: isStory
? `image_url=${m.path}&media_type=STORIES`
: `image_url=${m.path}`;