Skip to content

Commit

Permalink
app.bsky: permit 100mb video uploads (#3602)
Browse files Browse the repository at this point in the history
* app.bsky: permit 100mb videos.

* codegen

* changeset

* app.bsky: add description to video embed blob field.
  • Loading branch information
devinivy authored Mar 3, 2025
1 parent 98aa023 commit 6bcbb6d
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .changeset/selfish-suns-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@atproto/api": patch
"@atproto/pds": patch
---

Permit 100mb video embeds.
3 changes: 2 additions & 1 deletion lexicons/app/bsky/embed/video.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"properties": {
"video": {
"type": "blob",
"description": "The mp4 video file. May be up to 100mb, formerly limited to 50mb.",
"accept": ["video/mp4"],
"maxSize": 50000000
"maxSize": 100000000
},
"captions": {
"type": "array",
Expand Down
4 changes: 3 additions & 1 deletion packages/api/src/client/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5693,8 +5693,10 @@ export const schemaDict = {
properties: {
video: {
type: 'blob',
description:
'The mp4 video file. May be up to 100mb, formerly limited to 50mb.',
accept: ['video/mp4'],
maxSize: 50000000,
maxSize: 100000000,
},
captions: {
type: 'array',
Expand Down
1 change: 1 addition & 0 deletions packages/api/src/client/types/app/bsky/embed/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const id = 'app.bsky.embed.video'

export interface Main {
$type?: 'app.bsky.embed.video'
/** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */
video: BlobRef
captions?: Caption[]
/** Alt text description of the video, for accessibility. */
Expand Down
4 changes: 3 additions & 1 deletion packages/bsky/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5693,8 +5693,10 @@ export const schemaDict = {
properties: {
video: {
type: 'blob',
description:
'The mp4 video file. May be up to 100mb, formerly limited to 50mb.',
accept: ['video/mp4'],
maxSize: 50000000,
maxSize: 100000000,
},
captions: {
type: 'array',
Expand Down
1 change: 1 addition & 0 deletions packages/bsky/src/lexicon/types/app/bsky/embed/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const id = 'app.bsky.embed.video'

export interface Main {
$type?: 'app.bsky.embed.video'
/** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */
video: BlobRef
captions?: Caption[]
/** Alt text description of the video, for accessibility. */
Expand Down
4 changes: 3 additions & 1 deletion packages/ozone/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5693,8 +5693,10 @@ export const schemaDict = {
properties: {
video: {
type: 'blob',
description:
'The mp4 video file. May be up to 100mb, formerly limited to 50mb.',
accept: ['video/mp4'],
maxSize: 50000000,
maxSize: 100000000,
},
captions: {
type: 'array',
Expand Down
1 change: 1 addition & 0 deletions packages/ozone/src/lexicon/types/app/bsky/embed/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const id = 'app.bsky.embed.video'

export interface Main {
$type?: 'app.bsky.embed.video'
/** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */
video: BlobRef
captions?: Caption[]
/** Alt text description of the video, for accessibility. */
Expand Down
4 changes: 3 additions & 1 deletion packages/pds/src/lexicon/lexicons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5693,8 +5693,10 @@ export const schemaDict = {
properties: {
video: {
type: 'blob',
description:
'The mp4 video file. May be up to 100mb, formerly limited to 50mb.',
accept: ['video/mp4'],
maxSize: 50000000,
maxSize: 100000000,
},
captions: {
type: 'array',
Expand Down
1 change: 1 addition & 0 deletions packages/pds/src/lexicon/types/app/bsky/embed/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const id = 'app.bsky.embed.video'

export interface Main {
$type?: 'app.bsky.embed.video'
/** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */
video: BlobRef
captions?: Caption[]
/** Alt text description of the video, for accessibility. */
Expand Down

0 comments on commit 6bcbb6d

Please sign in to comment.