net.atchan.embed.video

atchan.net

Documentation

main object

No description available.

Properties

alt string Required

Alt text description of the video for accessibility. May be empty.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
duration integer Optional

Client-declared length of the video in whole seconds

minimum: 0
filename string Required

Name of the file as uploaded

maxLength: 2600 bytesmaxGraphemes: 260 graphemes
presentation string Optional

A hint to the client about how to present the video

Known values: default, gif
thumbnail blob Optional

Frame to show when video is loading, or to use as a thumbnail

maxSize: 5.2 MB
video blob Required

The video represented as bytes

maxSize: 26.2 MB
View raw schema
{
  "type": "object",
  "required": [
    "filename",
    "video",
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "maxLength": 20000,
      "description": "Alt text description of the video for accessibility. May be empty.",
      "maxGraphemes": 2000
    },
    "video": {
      "type": "blob",
      "accept": [
        "video/mp4",
        "video/webm"
      ],
      "maxSize": 26214400,
      "description": "The video represented as bytes"
    },
    "duration": {
      "type": "integer",
      "minimum": 0,
      "description": "Client-declared length of the video in whole seconds"
    },
    "filename": {
      "type": "string",
      "maxLength": 2600,
      "description": "Name of the file as uploaded",
      "maxGraphemes": 260
    },
    "thumbnail": {
      "type": "blob",
      "accept": [
        "image/*"
      ],
      "maxSize": 5242880,
      "description": "Frame to show when video is loading, or to use as a thumbnail"
    },
    "aspectRatio": {
      "ref": "net.atchan.embed.defs#aspectRatio",
      "type": "ref"
    },
    "presentation": {
      "type": "string",
      "description": "A hint to the client about how to present the video",
      "knownValues": [
        "default",
        "gif"
      ]
    }
  }
}

Lexicon Garden

@