ElementsMedia & visuals
AddVideo
Adds video playback with height, volume, and looping controls.
AddVideo
What it does
Adds video playback with height, volume, and looping controls.
When to use it
Use it for demonstrations, animated backgrounds, or supported video assets.
ElementFunction:AddVideo(VideoConfig)
Visuals:AddVideo({
Name = "Video Preview",
Video = "",
Height = 140,
Looped = true
})Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.