Class s7sdk.VttDesc
The VttDesc
corresponds to the static VTT asset.
Constructor Attributes | Constructor Name and Description |
---|---|
s7sdk.VttDesc(id, path, suffix, type, version, poiData)
|
Class Detail
s7sdk.VttDesc(id, path, suffix, type, version, poiData)
- Parameters:
- id
- The vtt id.
- path
- The vtt file path.
- suffix
- The vtt file suffix.
- type
- The type of the item. In this case, type is always
static
. - version
- vtt version.
- poiData
- POI data from the vtt file. An Array if JSON objects with "start" and "end" fields (which describe the time slot) and "crops" field describing smart crop data. "crop" value is a JSON object with the keys being aspect ratio identifies (for example, "16:9"), and values being JSON objects with normalized "x", y", "w" and "h" fields.
- See:
- s7sdk.set.MediaSet