Video

Displays a video player with local or streamed content.

Properties

NameTypeDefaultDescription
srcStringPath or URL to the video file (e.g. ‚video/tutorial.mp4‘).
autoplayStringfalseIf ‚true‘, the video plays automatically.
controlsStringtrueIf ‚true‘, playback controls are shown.
loopStringfalseIf ‚true‘, the video loops after finishing.
widthInt0Width in dp. Use 0 for automatic sizing.
heightInt0Height in dp. Use 0 for automatic sizing.

Allowed Roots

← Back to Element Reference