Hello,
In the Asset Library, we have uploaded a bunch of MP4 videos in order to be able to place them on pages using a custom component in the Visual Editor.
This is my component definition
{
"name": "HalfMediaHalfCopy",
"image": "http://localhost:3000/component-icons/layout-sidebar-left-expand.png",
"inputs": [
...
{
"friendlyName": "Media File",
"name": "src",
"type": "file",
"allowedFileTypes": [
"mp4",
"jpg",
"jpeg",
"png",
"svg",
"gif"
],
"helperText": "Uploaded image or video file.",
"_docs": {
"image": {
"width": 1000,
"height": 1000
}
}
},
...
],
"noWrap": true,
"static": true,
"defaultStyles": {
"margin": "0px",
"marginTop": "0px",
"marginBottom": "0px",
"marginLeft": "0px",
"marginRight": "0px",
"padding": "0px",
"paddingTop": "0px",
"paddingBottom": "0px",
"paddingLeft": "0px",
"paddingRight": "0px"
}
}
Screenshot of videos in the Asset Library
Screenshot of the missing videos in the Asset Library for selection from the component
Thanks