Video Player

This commit is contained in:
2024-01-21 18:20:36 +08:00
parent 2bd6b8758b
commit f0063afffa
4 changed files with 74 additions and 3 deletions

View File

@@ -68,7 +68,32 @@ const Post: Collection = {
type: "rich-text",
label: "Body",
name: "_body",
templates: [],
templates: [
{
name: "Video",
label: "Video",
fields: [
{
name: "sources",
label: "Sources",
type: "object",
fields: [
{
name: "caption",
label: "Caption",
type: "string",
},
{
name: "url",
label: "URL",
type: "string",
},
],
list: true,
},
],
},
],
isBody: true,
},
],

File diff suppressed because one or more lines are too long