Media control in cards

Displays a media player for audio or video content. A video or audio file is specified by its Url and MimeType in the Sources tab. The media control supports publicly accessible and CORS-compliant URLs. On Web and Desktop versions of Teams, share links to any OneDrive or SharePoint backed video or audio link are also supported.

Use the image control for pictures.

Properties

Sources - The media content to play. Plays the first one specified by default.

Poster – URL of an image to display before playing. Supports data URI in version 1.2+

Alt text – Alternate text describing the audio or video.

Initially visible – If false, this item will be removed from the visual tree.

Spacing – Controls the amount of spacing between this control and the preceding control.

Divider – When true, draw a separating line at the top of the control.

Height – Specifies the height of the control.

Repeat for every – The source of data that is used to show multiple instances of this control. Learn how to use repeat for every.

Show when – Conditional layout expression.