YouTube Player

The YouTube Player widget embeds a YouTube video directly in your app.

Properties

Property
Description

videoUrl

The URL of the YouTube video to play.

autoPlay

If true, the video will start playing automatically.

loop

If true, the video will loop continuously.

isMuted

If true, the video will be muted by default.


Default Properties

The YouTube Player widget supports the following sections of default properties:

Layout

  • width

  • height

  • padding

  • margin

  • align

Appearance

  • bgColor

  • borderRadius

  • border

    • borderWidth

    • borderColor

    • borderType (e.g., solid, dashed)

    • strokeAlign

Last updated