video表示组件的配置项类型为视频上传预览

配置项说明

字段名 含义 类型 是否必选 备注
name 显示名 string
type 类型 string
showURL 是否显示url boolean
disabled 是否禁用 boolean
accept 文件类型 string 根据HTML输入元素< input type=”file” > 标签的accept属性规则进行配置。[mdn-accept]
default 默认值 string或者Object

值说明

条件 数据类型 示例 默认值
string http://spray-test.uino.com/s-static/img/video.mp4 “”

配置示例

1639460593(1).jpg

  1. "video": {
  2. "name": "视频",
  3. "type": "video",
  4. "showURL": true,
  5. "default": "http://spray-test.uino.com/s-static/img/video.mp4"
  6. },