VideoShapeOptions

See source code
Table of contents

Extends ShapeOptionsWithDisplayValues<TLVideoShape, VideoShapeUtilDisplayValues>.

interface VideoShapeOptions extends ShapeOptionsWithDisplayValues<
  TLVideoShape,
  VideoShapeUtilDisplayValues
> {}

Properties

autoplay

Should videos play automatically?

autoplay: boolean;

Methods

getCustomDisplayValues

Parameters

NameDescription

editor

Editor;

shape

Shape;

theme

TLTheme;

colorMode

"dark" | "light";

Returns

Partial<DisplayValues>;

getDefaultDisplayValues

Parameters

NameDescription

editor

Editor;

shape

Shape;

theme

TLTheme;

colorMode

"dark" | "light";

Returns

DisplayValues;

Prev
UseImageOrVideoAssetOptions
Next
VideoShapeUtilDisplayValues