⌂
›
Reference
›
Video
Video
Video control. Build it with the video helper.
Example
video(
title: text("Title"),
width: 240,
height: 120,
on_completed: ->(event) {}
)
Properties
alignment— Alignment of the content within the control.autoplayconfigurationfill_color— Fill color.filter_qualityfitfullscreenmutedpause_upon_entering_background_modepitchplaylistplaylist_modeplayback_rateresume_upon_entering_foreground_modeshow_controlsshuffle_playlistsubtitle_configurationtitle— The control shown as the title.volumewakelock
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_completed— Fired on completed.on_complete— Fired on complete.on_enter_fullscreen— Fired on enter fullscreen.on_error— Fired when an error occurs.on_exit_fullscreen— Fired on exit fullscreen.on_load— Fired on load.on_loaded— Fired when the control has loaded.on_state_change— Fired when the control's state changes.on_track_change— Fired on track change.on_track_changed— Fired on track changed.
Reference
- Family:
materials - Widget type:
video - Helper:
video