HTML5 Viewer SDK API Documentation 

Namespaces


Class Index

Classes in s7sdk

Class s7sdk.VttDesc

The VttDesc corresponds to the static VTT asset.

Class Summary
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

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Oct 15 2020 11:59:14 GMT-0000 (UTC)