new VideoSource()

Description

Defines how to manipulate a video layer, is an instance of a VideoTransformation

Notice
This class is used as a Qualifier for the asset.overlay() and asset.underlay() methods.
You can find regular images and videos transformations below:

Methods


<protected> encodeAssetPublicID()

Description

Utility function to encode an asset publicID in an overlay

Examples

			encodeAssetPublicID('foo/bar'); // -> foo:bar

transformation( t ) → {this}

Description

Apply a transformation on the image source of the layer

Parameters
Name Type Description
t SDK.ImageTransformation

An image transformation to apply to the layer

Returns

getOpenSourceString() → {string}

Description

Returns the opening string of the layer, This method is used internally within LayerAction

Returns

getTransformation() → {SDK.Transformation}

Description

Returns the Transformation of the source