diff --git a/lexicons/app/bsky/embed/defs.json b/lexicons/app/bsky/embed/defs.json index 57ffc03a679..836d5de7d54 100644 --- a/lexicons/app/bsky/embed/defs.json +++ b/lexicons/app/bsky/embed/defs.json @@ -10,6 +10,16 @@ "width": { "type": "integer", "minimum": 1 }, "height": { "type": "integer", "minimum": 1 } } + }, + "videoPresentation": { + "type": "object", + "description": "Indicates that this video should be presented as a normal video - i.e. with sound, a progress bar, etc.", + "properties": {} + }, + "gifPresentation": { + "type": "object", + "description": "Indicates that this video should be presented as a GIF - i.e. with no sound, looping, etc.", + "properties": {} } } } diff --git a/lexicons/app/bsky/embed/video.json b/lexicons/app/bsky/embed/video.json index da58ded8bb4..d43bf0525ef 100644 --- a/lexicons/app/bsky/embed/video.json +++ b/lexicons/app/bsky/embed/video.json @@ -26,6 +26,11 @@ "aspectRatio": { "type": "ref", "ref": "app.bsky.embed.defs#aspectRatio" + }, + "presentation": { + "type": "union", + "description": "The video's presentation type. If not provided, it will assumed to be #videoPresentation.", + "refs": ["#videoPresentation", "#gifPresentation"] } } }, @@ -59,6 +64,10 @@ "aspectRatio": { "type": "ref", "ref": "app.bsky.embed.defs#aspectRatio" + }, + "presentation": { + "type": "union", + "refs": ["#videoPresentation", "#gifPresentation"] } } }