Module Cephalopod_models.App_Bsky_Embed_Video

lexicon "app.bsky.embed.video" A video embedded in a Bluesky record (eg, a post).

def main

type nonrec main = Types.app_bsky_embed_video_main = {
  1. video : Cephalopod_dasl.Blob.t;
    (*

    The mp4 video file. May be up to 100mb, formerly limited to 50mb. accept: (AcceptN "video/mp4") max size: 100000000

    *)
  2. captions : Types.app_bsky_embed_video_caption list option;
    (*

    maximum length: 20

    *)
  3. alt : string option;
    (*

    Alt text description of the video, for accessibility. maximum length: 10000

    *)
  4. aspectRatio : Types.app_bsky_embed_defs_aspectratio option;
}

def caption

type nonrec caption = Types.app_bsky_embed_video_caption = {
  1. lang : string;
    (*

    format: "Language"

    *)
  2. file : Cephalopod_dasl.Blob.t;
    (*

    accept: (AcceptN "text/vtt") max size: 20000

    *)
}

def view

type nonrec view = Types.app_bsky_embed_video_view = {
  1. cid : string;
    (*

    format: "Cid"

    *)
  2. playlist : string;
    (*

    format: "Uri"

    *)
  3. thumbnail : string option;
    (*

    format: "Uri"

    *)
  4. alt : string option;
    (*

    maximum length: 10000

    *)
  5. aspectRatio : Types.app_bsky_embed_defs_aspectratio option;
}