Skip to content

Set Media Source Node

UI/Elements/Media

Signs a FlowPath and sets it as the source for image, video, avatar, iframe, lottie, or file preview elements

a2ui_set_media_sourcestdLong running
Inputs4
Outputs4
Security exposureUnrated
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

4

▶

Execution
exec_in

Element

Struct
element_ref

Reference to the media element

ElementRefElementRef5 fields
idstringrequired

Identifier of the element or widget instance.

instanceIdstring | null

Instance the element lives in. Absent for elements addressed directly.

widgetIdstring | null

Widget this instance was created from.

surfaceIdstring | null

Surface the element is rendered on.

componentvalue

The component itself, whose props are defined by the component type.

File

Struct
file

FlowPath to sign and use as the element source

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Expiration (seconds)

Integer
expiration

Expiration time for the signed URL

Default 3600

Output Pins

4

▶

Execution
exec_out

Signed URL

String
signed_url

The generated signed URL

MIME Type

String
mime_type

Detected MIME type from the FlowPath extension

Media Kind

String
media_kind

Detected media kind: image, video, audio, pdf, text, or file

Node Info

Internal name
a2ui_set_media_source
Category
UI/Elements/Media