VideoAsset class

A reference to a video file shared with the Oooh platform.

Signature:

export declare class VideoAsset extends AbstractModuleAsset 

Extends: AbstractModuleAsset

Methods

MethodModifiersDescription
delete()Delete the video asset created during the module run.
getVideoPath()Get the url or local path to the video file

VideoAsset.getVideoPath() method

Get the url or local path to the video file

Signature:

getVideoPath(): Promise<string>;

Returns:

Promise<string>

VideoAsset.delete() method

Delete the video asset created during the module run.

Signature:

delete(): void;

Returns:

void

Remarks

Either this or AssetManager.addToOutput() must be called for every video asset created by the module.