Skip to content

API > EmbedFieldType

Type alias: EmbedFieldType

EmbedFieldType: BaseField & { default: { embed_type: string; height: number; max_height: number; max_width: number; media_bridge_object: {}; oembed_response: {}; oembed_string: string; size_type: "auto" | "auto_custom_max" | "auto_full_width" | "exact"; source_type: "oembed" | "html" | "media_bridge"; width: number; }; resizable: boolean; showPreview: boolean; supportedMediaBridgeProviders: number[]; supportedOembedTypes: ("photo" | "video" | "link" | "rich")[]; supportedSourceTypes: ("oembed" | "html" | "media_bridge")[]; type: "embed"; }

EmbedFieldType.default

default?: object

default.embed_type

embed_type?: string

default.height

height?: number

default.max_height

max_height?: number

default.max_width

max_width?: number

default.media_bridge_object

media_bridge_object?: object

default.oembed_response

oembed_response?: object

default.oembed_string

oembed_string?: string

default.size_type

size_type?: "auto" | "auto_custom_max" | "auto_full_width" | "exact"

default.source_type

source_type?: "oembed" | "html" | "media_bridge"

default.width

width?: number

EmbedFieldType.resizable

resizable?: boolean

EmbedFieldType.showPreview

showPreview?: boolean

EmbedFieldType.supportedMediaBridgeProviders

supportedMediaBridgeProviders: number[]

EmbedFieldType.supportedOembedTypes

supportedOembedTypes: ("photo" | "video" | "link" | "rich")[]

EmbedFieldType.supportedSourceTypes

supportedSourceTypes: ("oembed" | "html" | "media_bridge")[]

EmbedFieldType.type

type: "embed"

Source

fieldTypes.ts:189