Repository navigation
User JSON SliderIndicator
Back to list | Indicator page | Русский
This page describes the JSON template of the slider indicator for manual editing of .vttp.
{
"name": "com.velitask.plagin.official.slider",
"data": {
"maket": { "preset": "auto" },
"properties": {
"sliderProject": {},
"slideDuration": {"value":15},
"pauseDuration": {"value":0},
"timeMode": {"value":0},
"appearanceIn": {"value":0},
"appearanceOut": {"value":0},
"appearanceDuration": {"value":1.0},
"disappearanceDuration": {"value":1.0},
"pointX": {"value":960},
"pointY": {"value":540}
}
}
}A service setting, not shown in the interface. Leave it empty.
{
"sliderProject": {}
}| Field | Values | What it does |
|---|---|---|
| (no fields) | {} |
A service key, contains no values. |
"Slide duration, s": how many seconds a slide is shown.
{
"slideDuration": {"value":15}
}| Field | Values | What it does |
|---|---|---|
value |
whole number of seconds, 15 by default |
Slide duration. For a video the display window is not shorter than the clip itself. Positive values are recommended. |
"Min pause, s": the minimum gap between slides.
{
"pauseDuration": {"value":0}
}| Field | Values | What it does |
|---|---|---|
value |
whole number of seconds, 0 by default |
Minimum pause between slides. Values >= 0 are recommended. |
"Time mode": how time runs inside a slide.
{
"timeMode": {"value":0}
}| Field | Values | What it does |
|---|---|---|
value |
0, 1, 2
|
Mode number. |
value |
Name | What it does |
|---|---|---|
0 |
Parent speed | The video plays at the pace of the project. |
1 |
Freeze frame | The first frame is shown, the sound is off. |
2 |
Real speed | The video plays at its normal pace. |
"Appearance": the effect at the start of a slide.
{
"appearanceIn": {"value":0}
}| Field | Values | What it does |
|---|---|---|
value |
0..6
|
Effect number. |
value |
Name | What it does |
|---|---|---|
0 |
None | No effect. |
1 |
Fade | Opacity grows from 0 to 100%. |
2 |
From left | Slides in from the left. |
3 |
From right | Slides in from the right. |
4 |
From top | Slides in from the top. |
5 |
From bottom | Slides in from the bottom. |
6 |
From point | The slide grows from the point pointX, pointY. |
"Disappearance": the effect at the end of a slide.
{
"appearanceOut": {"value":0}
}| Field | Values | What it does |
|---|---|---|
value |
0..6
|
Effect number. |
value |
Name | What it does |
|---|---|---|
0 |
None | No effect. |
1 |
Fade | Opacity falls from 100% to 0. |
2 |
To left | Slides out to the left. |
3 |
To right | Slides out to the right. |
4 |
To top | Slides out upward. |
5 |
To bottom | Slides out downward. |
6 |
To point | The slide shrinks into the point pointX, pointY. |
"Appearance, s": the duration of the appearance effect.
{
"appearanceDuration": {"value":1.0}
}| Field | Values | What it does |
|---|---|---|
value |
number >= 0.0, 1.0 by default; step in the interface 0.1
|
Seconds of appearance. 0 turns the effect off. |
"Disappearance, s": the duration of the disappearance effect.
{
"disappearanceDuration": {"value":1.0}
}| Field | Values | What it does |
|---|---|---|
value |
number >= 0.0, 1.0 by default; step in the interface 0.1
|
Seconds of disappearance. 0 turns the effect off. |
If the sum of the two durations is longer than the slide, both are shortened proportionally.
"Point X": the horizontal coordinate of the point for the "From point" and "To point" effects.
{
"pointX": {"value":960}
}| Field | Values | What it does |
|---|---|---|
value |
whole number, 960 by default |
X coordinate in base pixels of the parent. |
"Point Y": the vertical coordinate of the point for the same effects.
{
"pointY": {"value":540}
}| Field | Values | What it does |
|---|---|---|
value |
whole number, 540 by default |
Y coordinate in base pixels of the parent. |