Power Apps - Not able to render video from SharePoint Library into PowerApps Video Control

85 views Asked by At

Recently we ran into a scenario where the Video was not loading/rendering in the PowerApps Video Control. By digging in deeper we got to know that we have to login to SharePoint in a separate window to have the video rendered in PowerApps. Are there any settings/updates we need to do to remove this dependency of additional login into SharePoint?

This is how I am setting Media property of the Video Control:

enter image description here

Thanks!

1

There are 1 answers

0
Sumit Singh On

For me, it worked straightforwardly without keeping my SharePoint Logged in. I set the Media property of my video control as below.

First(Filter(Document, 'Folder Path' = "Shared Documents/Video/")).'Link to item'

Here:

  • Document is my SharePoint Default Document Library
  • Video is a folder which I created inside Document Library and put my sample Video
  • Using First to get the first item of my folder and extracting its link using its 'Link to item' attribute

The only requirement is your video or SharePoint Library or SharePoint Site must be shared with the user who is opening/playing the video.