Skip to content

Commit 72312a3

Browse files
committed
Update documentation
Bluesky user accounts can now upload videos that are as large as 100 MB.
1 parent 329933a commit 72312a3

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

Sources/ATProtoKit/APIReference/ATProtoBlueskyAPI/PostRecord/CreatePostRecord.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ extension ATProtoBluesky {
117117
/// }
118118
/// ```
119119
///
120-
/// Only one video can be added to a post, can be 50 MB or less, and must use the .mp4 format.
120+
/// Only one video can be added to a post, can be 100 MB or less, and must use the .mp4 format.
121121
/// You can upload up to 25 videos per day and the 25 videos can't exceed a total of 500 MB
122122
/// for the day.
123123
///
@@ -452,7 +452,7 @@ extension ATProtoBluesky {
452452

453453
/// Uploads a video to the AT Protocol for attaching to a record at a later request.
454454
///
455-
/// A maximum size of 50 MB is allowed to be uploaded. The video file must be in
455+
/// A maximum size of 100 MB is allowed to be uploaded. The video file must be in
456456
/// an .mp4 format. For the caption files, a maximum of 20 .vtt files can be add, and none
457457
/// can exceed 20 KB.
458458
///
@@ -685,7 +685,7 @@ extension ATProtoBluesky {
685685

686686
/// Represents a video to be embedded in the post.
687687
///
688-
/// A maximum size of 50 MB is allowed to be uploaded. The video file must be in
688+
/// A maximum size of 100 MB is allowed to be uploaded. The video file must be in
689689
/// an .mp4 format. For the caption files, a maximum of 20 .vtt files can be add, and none
690690
/// can exceed 20 KB.
691691
///

Sources/ATProtoKit/Models/Lexicons/app.bsky/Embed/AppBskyEmbedVideo.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ extension AppBskyLexicon.Embed {
2828
///
2929
/// Only .mp4 files can be accepted.
3030
///
31-
/// - Important: Current maximum size is 50,000,000 bytes (50 MB).
31+
/// - Important: Current maximum size is 100,000,000 bytes (100 MB).
32+
///
33+
/// - Note: According to the AT Protocol specifications: "The mp4 video file. May be up to
34+
/// 100mb, formerly limited to 50mb."
3235
public let video: ComAtprotoLexicon.Repository.UploadBlobOutput
3336

3437
/// An array of captions in various languages provided for the video. Optional.

0 commit comments

Comments
 (0)