videodb / Exports / core/asset / VideoAsset
core/asset.VideoAsset
VideoAsset class
-
MediaAsset
↳
VideoAsset
• new VideoAsset(assetId
, config?
): VideoAsset
Initializes a AudioAsset instance
Name | Type | Description |
---|---|---|
assetId |
string |
The id of the audio asset. |
config? |
Partial <VideoAssetConfig > |
The configuration of the audio asset. |
A new AudioAsset instance.
MediaAsset.constructor
• assetId: string
MediaAsset.assetId
• end: null
| number
• start: number
▸ toJSON(): Object
Object
Name | Type |
---|---|
assetId |
string |
end |
null | number |
start |
number |