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.
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.propertyfill_modeFill mode configuration for Video Output.propertyorientationOrientation configuration for Video Output.propertymirroredMirrored configuration for Video Output.propertyend_of_stream_policyEnd of stream policy configuration for Video Output.propertywidthWidth configuration for Video Output.propertyheightHeight configuration for Video Output.propertyvisibleVisible configuration for Video Output.propertyShow 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