jc-jig-header
The schema defines the following properties:
Property | Type | Required | Description |
type | component.jig-header | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | object | true | |
Properties of the options object:
Property | Type | Required | Description |
height | JigHeaderHeight | true | Header height |
children | HeaderChild | true | |
Header height
Default: "medium"
The schema defines the following additional types:
This element must be one of the following enum values:
- small
- medium
HeaderChild (jc-image | jc-location | JCVideoPlayerOnJigConfig)
The object must be any of the following types:
Properties of the JCVideoPlayerOnJigConfig object:
Property | Type | Required | Description |
type | component.video-player | true | |
instanceId | InstanceId | Expression | false | |
when | Expression | boolean | false | |
options | Video Player Options jigs | true | |
Properties of the options object:
Property | Type | Required | Description |
url | string | string | true | URL of the video |
title | string | Expression | TextWithFormat | TextLocale | false | Title of the video |
subtitle | string | Expression | TextWithFormat | TextLocale | false | Subtitle of the video |
ratio | Ratio | false | Aspect ratio of the video (default = 16:9, only for non-YouTube videos) |
autoplay | boolean | string | false | Autoplay the video (default = true) |
loop | boolean | string | false | Loop the video (default = true) |
onPress | false | Action Keg component that will be triggered by pressing on this image. |
URL of the video
The object must be any of the following types:
Title of the video
Subtitle of the video
Aspect ratio of the video (default = 16:9, only for non-YouTube videos)
Autoplay the video (default = true)
The object must be any of the following types:
Loop the video (default = true)
The object must be any of the following types:
Action Keg component that will be triggered by pressing on this image.
This element must be one of the following enum values:
- 16:9
- 4:3
