@vectoriox/iox-builder 11.19.0 → 11.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15192,7 +15192,8 @@ class VideoConfig extends ComponentConfig {
|
|
|
15192
15192
|
// ── Accessibility ─────────────────────────────────────────────
|
|
15193
15193
|
new TraitConfig('__accessibilityLabel', 'Accessibility', TraitInputType.SectionLabel),
|
|
15194
15194
|
new TraitConfig(VideoTrait.Title, 'Title (names the play button)', TraitInputType.Text, undefined, ''),
|
|
15195
|
-
|
|
15195
|
+
// `accept: 'captions'` — the host's file picker opens on the studio's captions tracks (iox-cms-client#18).
|
|
15196
|
+
new TraitConfig(VideoTrait.Captions, 'Captions (.vtt)', TraitInputType.Media, { mode: 'compact', accept: 'captions' }, '', undefined, file),
|
|
15196
15197
|
new TraitConfig(VideoTrait.CaptionsLang, 'Captions language', TraitInputType.Text, undefined, 'en', undefined, file),
|
|
15197
15198
|
// ── Privacy ───────────────────────────────────────────────────
|
|
15198
15199
|
new TraitConfig('__privacyLabel', 'Privacy', TraitInputType.SectionLabel),
|