Stream control (based on SharePoint) in Power Apps (preview)

[This article is pre-release document and is subject to change.]

The Stream control in Power Apps lets you embed Microsoft Stream (on SharePoint) videos directly in your canvas app. Adding a Stream video in your app makes a smooth integration of videos hosted on Microsoft Stream in your canvas app. It also improves the user experience.

Prerequisites

To add a Steam video in your canvas app, follow these steps to get the embed URL of the video:

  1. Open your Stream (on SharePoint) video.

  2. Select Share > Embed code. Microsoft Stream embed URL

  3. Copy the URL starting from https:// to the UniqueId= including the Unique ID numbers. embed URL example

Add Steam control

  1. Open your app canvas app for editing.
  2. On the command bar, select Insert > Media > Stream (preview).
  3. In the STREAM pane, enter the Stream URL of the video. This is the embed URL from the Prerequisites section of the article.
  4. Customize the size of the embedded video player by setting the width and height properties of the control.

Properties

Steam URL (Required) - The URL of the Stream video that you want to embed. This is the embed URL of the video. The URL should only have Unique ID. If URL detects other parameters, the control detects as invalid URL.

X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).

Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).

Width - The distance between a control's left and right edges.

Height - The distance between a control's top and bottom edges.

Limitations

  1. Currently only browser support is available. Mobile app support is coming soon.
  2. Control properties such as auto start, auto play, and start from are coming soon.
  3. We don't recommend adding more than four videos on a single canvas app screen because it can cause performance issues.
  4. The last played state isn't preserved for videos within galleries.