zui docs v0.0.5
GitHub ↗
Multimedia and capture Native Qt

Video Output

Video Output is a native Zui component in the multimedia and capture catalog, with 8 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
player = media_player "assets/sequence.mp4", auto_play: true
video_output player, width: 640, height: 360, fill_mode: :preserve_aspect_crop
API

Component properties

8 component-specific values, plus shared item and layout properties.

sourceSource configuration for Video Output.property
fill_modeFill mode configuration for Video Output.property
orientationOrientation configuration for Video Output.property
mirroredMirrored configuration for Video Output.property
end_of_stream_policyEnd of stream policy configuration for Video Output.property
widthWidth configuration for Video Output.property
heightHeight configuration for Video Output.property
visibleVisible configuration for Video Output.property
Show 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

source_changeNative event payload
frameNative event payload