Skip to main content

Video

The Video widget is a media player that plays video on an app screen.
Configure playback, stop, volume, playback speed, looping, and more, and show playback controls on top of the video.

Definition and role

The Video widget draws a player area that plays the video source you specify — network, file, or asset. Properties control automatic looping, volume and mute, playback speed, the start position, and whether the playback control UI appears.

  • Category: Contents
  • Default size: full width, height 200
  • Default appearance in the editor: an empty area labeled Media

Features

FeatureDescription
Video playbackPlays video from a network, file, or asset source.
Playback controlSets the play or stop state (status), the start position (seek), and looping (loop).
Sound controlSets the volume (volume) and mute (mute).
Playback speedAdjusts the playback speed from 0.5 to 2.0×.
Control UIShows play/stop, a progress bar, volume, and speed controls on top of the video.
Visible areaSets the area of the video to show (crop ratio, viewport).

How to use

  1. Open the Contents category in the left widget palette.
  2. Drag and drop the Video item onto the canvas.
  3. In the properties panel on the right, set the video source (media).
  4. If needed, adjust loop, volume, playBackRate, showControlUI, and more.

Properties

PropertyDescriptionDefaultValue / Type
mediaVideo source to play (network, file, or asset)Not setMedia source
loopReplays automatically when playback endsfalse (off)true / false
volumePlayback volume0.5Number 0.01.0
seekPlayback start position (percentage of the total length)0Number 099
playBackRatePlayback speed multiplier1.0Number 0.52.0
showControlUIWhether the playback control UI is showntrue (shown)true / false
fullScreenWhether full screen is availabletrue (available)true / false
muteWhether the sound is mutedfalse (off)true / false
statusPlayback stateStopStop, Play
viewportArea of the video to show (crop ratio)Full (x:0, y:0, width:1, height:1)Viewport value

Notes and tips

tip

volume ranges from 0.0 to 1.0. When mute is on, no sound plays regardless of the volume value.

note

seek isn't measured in seconds — it's a percentage of the total length (099). For example, 50 starts playback halfway through the video.

Learn more

tip

For the full Widget Control (Property, Method, Event) you use to drive this widget from a script, visit Video Widget Control.