47 lines
897 B
YAML
Executable File
47 lines
897 B
YAML
Executable File
name: vitec/video
|
|
group: vitec_custom_components
|
|
prefixFields: true
|
|
prefixType: vendor
|
|
|
|
fields:
|
|
- identifier: header
|
|
useExistingField: true
|
|
required: true
|
|
|
|
- identifier: header_layout
|
|
useExistingField: true
|
|
|
|
- identifier: header_position
|
|
useExistingField: true
|
|
|
|
- identifier: header_link
|
|
useExistingField: true
|
|
|
|
- identifier: subheader
|
|
useExistingField: true
|
|
|
|
- identifier: youtube_code
|
|
type: Text
|
|
max: 50
|
|
description: 'YouTube video ID (e.g. "dQw4w9WgXcQ") OR full URL. Leave empty to use Custom Video instead.'
|
|
|
|
- identifier: poster
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: common-image-types
|
|
|
|
- identifier: custom_video
|
|
type: File
|
|
minitems: 0
|
|
maxitems: 1
|
|
allowed: mp4,webm,ogv,mov,m4v
|
|
|
|
- identifier: hide_controls
|
|
type: Checkbox
|
|
default: 0
|
|
|
|
- identifier: debug
|
|
type: Checkbox
|
|
default: 0
|