Restore point before Stufe 3 (central resolver-service refactoring). Includes this session's work: - Success Story (usecase) rebuild: new fields/tabs, UsecaseSerializer, thin List/Show renderers, MM relations, inline content elements. - vitec_columns content block (two-column layout with per-item content) incl. unified header section; special-cased JSON resolution. - Container per-column flex (items[].config align/justify) + gap on parent. - Unified header section across CEs/plugins/containers; header fields in JSON. - ISO-style architecture spec: Documentation/Headless-JSON-Architecture.md. - Cleanup: removed local scratch + verified .bak backups. - Fixes: B-6 (undefined thumbnail variable in Downloadcardcollection image resolver), B-7 (unsatisfiable legacy CType OR branch in Downloadcard/Datasheets). Rollback: git reset --hard snapshot-2026-07-09-pre-stufe3 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
name: vitec/video
|
|
group: vitec_custom_components
|
|
prefixFields: true
|
|
prefixType: vendor
|
|
|
|
fields:
|
|
- identifier: header_section
|
|
type: Palette
|
|
label: Header
|
|
fields:
|
|
- identifier: header
|
|
useExistingField: true
|
|
required: true
|
|
- type: Linebreak
|
|
- identifier: header_layout
|
|
useExistingField: true
|
|
- identifier: header_position
|
|
useExistingField: true
|
|
- identifier: date
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- identifier: header_link
|
|
useExistingField: true
|
|
- type: Linebreak
|
|
- 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
|