PowerApps Play Video From SharePoint | Power Apps Videos

Video control in Power Apps allows users to play video from a file, SharePoint, or any external source.

In this article, I will cover everything you need to know about PowerApps video control, PowerApps play video from SharePoint, and many more things like:

  • PowerApps stream video
  • How to play Microsoft Stream Video in Power Apps

Power Apps Video Control

Let’s start with the very basics – What is Power Apps Video Control?

A Video control plays a video clip from a file or from YouTube or any external source like SharePoint. It allows you to play videos directly within your app.

You can use this control to improve the user experience by including product demos, instructional videos, or any other video content relevant to your app.

Let’s see some of the properties of video control in Power Apps.

  • Media: An identifier for the clip that a video control plays.
  • ShowControls: Whether a video player shows, for example, a play button, a volume button, and a pause button.
  • AutoStart: Start to play video control automatically when the user navigates to the screen containing that control.
  • Loop: whether a video automatically starts to play as soon as it finishes playing.
  • Start time: Providing a start time makes the video play after that time. For example, the start time is 3, and the video starts from 3 sec.
powerapps video control

How to Add Power Apps Videos

Let’s see how to use video control in Power Apps to play videos.

1. In Power Apps, select the Insert tab->Media-> Video control.

power apps videos

2. Then, you’ll get one sample video like the one below.

powerapps video control

3. Now, From the Properties pane, click the dropdown next to Media -> +Add media to upload a video.

power apps play video

4. It will direct you to your local drive. Select the video file and click on Open.

play videos in the power apps

5. The video will take a few seconds to load. Now, Look at the example below. The video is loaded; you can also see the controls of volume, pause and expand.

powerapps video control

Adjust the video by dragging and dropping, and then make the changes for the video using the properties.

Power Apps Play Video from SharePoint

Now, I will explain Power Apps play videos from SharePoint with a simple example.

Example: I have a SharePoint document library that consists of marketing research demo videos related to my Power Apps application.

powerapps video

Let’s see how to use the Power Apps video from SharePoint.

1. In the Power Apps screen, select the Gallery control [horizontal/vertical] from the Insert tab.

2. After selecting the gallery control, the Select a data source screen will populate. Connect with the SharePoint list.

how to play sharepoint video in power apps

3. Adjust the layout according to your requirements. Select one section in the gallery control and insert one Video control into that.

4. Set the Media property of Video control to the formula below:

ThisItem.'Link to item'
powerapps play video from sharepoint

5. Now, save and preview the app once. Tap the videos it is playing; for reference, look at the example below.

powerapps video from sharepoint

That’s it; I hope you understand how to play videos in Power Apps from SharePoint.

Play Microsoft Stream Video in Power Apps

We use the Microsoft Stream control to play the microsoft stream videos in Power Apps. The integration of Microsoft Stream to Power Apps is not working now.

Note:

Currently, the new version is stream (on sharepoint), which doesn’t provide when sharing a stream URL, so the stream control in powerapps won’t work.

1. In Power Apps’ new screen, select the Microsoft Stream control from the Insert tab.

play microsoft stream video in power apps

2. Open the Microsoft Stream, select the video, click the Share option of the video, and copy the link by clicking on the Copy link.

powerapps stream video

3. Paste that link in the StreamUrl property of Microsoft Stream Control.

microsoft stream in powerapps
Error: StreamUrl property only allows URLs from the microsoftstream.com domain with videos or channel paths.

In the new Stream version, videos are stored with a SharePoint URL, not with the microsoftstream.com domain. The url won’t work unless it’s using the stream(classic) version url.

OR

4. We can get the stream video link from the Microsoft team channel. Follow the link to get the stream video link. After following those steps, we get the following image.

powerapps microsoft stream video

5. The new stream had an update, which is not supported in Power Apps.
Alternatively, we can achieve it by taking the Button control and pasting that stream video link in the Onselect property using the Launch function.

Launch("https://szg52.sharepoint.com/:v:/s/Marketing806/EY_SSgebbC5Onqfe-UOtVfkBS-sPH6zo8xyRPjvOVMMmBg?e=ddTyNT&nav=eyJyZWZlcnJhbEluZm8iOnsicmVmZXJyYWxBcHAiOiJTdHJlYW1XZWZXcifX0%3D")
powerapps stream on sharepoint

6. While clicking the button control, it will take you to the streaming app.

microsoft stream videos in powerapps

Some more Power Apps articles you may also like;

I hope you found this article useful. I have explained the PowerApps video control and PowerApps video from SharePoint, PowerApps videos, and play Microsoft stream videos in Power Apps.

Unfortunately, playing Microsoft Stream videos in Power Apps is not supported. You can use the alternative that I explained above in case you need it.

  • >

    Build a High-Performance Project Management Site in SharePoint Online

    User registration Power Apps canvas app

    DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

    Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

    Power Platform Tutorial FREE PDF Download

    FREE Power Platform Tutorial PDF

    Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…