net.atchan.embed.video
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "net.atchan.embed.video",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
6
"required": [
7
7
"filename",
8
8
"video",
9
9
"alt"
10
10
],
11
11
"properties": {
12
12
"alt": {
13
13
"type": "string",
14
14
"maxLength": 20000,
15
15
"description": "Alt text description of the video for accessibility. May be empty.",
16
16
"maxGraphemes": 2000
17
17
},
18
18
"video": {
19
19
"type": "blob",
20
20
"accept": [
21
21
"video/mp4",
22
22
"video/webm"
23
23
],
24
-
"maxSize": 10485760,
24
+
"maxSize": 26214400,
25
25
"description": "The video represented as bytes"
26
26
},
27
27
"duration": {
28
28
"type": "integer",
29
29
"minimum": 0,
30
30
"description": "Client-declared length of the video in whole seconds"
31
31
},
32
32
"filename": {
33
33
"type": "string",
34
34
"maxLength": 2600,
35
35
"description": "Name of the file as uploaded",
36
36
"maxGraphemes": 260
37
37
},
38
38
"thumbnail": {
39
39
"type": "blob",
40
40
"accept": [
41
41
"image/*"
42
42
],
43
43
"maxSize": 5242880,
44
44
"description": "Frame to show when video is loading, or to use as a thumbnail"
45
45
},
46
46
"aspectRatio": {
47
47
"ref": "net.atchan.embed.defs#aspectRatio",
48
48
"type": "ref"
49
49
},
50
50
"presentation": {
51
51
"type": "string",
52
52
"description": "A hint to the client about how to present the video",
53
53
"knownValues": [
54
54
"default",
55
55
"gif"
56
56
]
57
57
}
58
58
}
59
59
}
60
60
},
61
61
"$type": "com.atproto.lexicon.schema",
62
62
"lexicon": 1
63
63
}