Showing results for 
Search instead for 
Did you mean: 
New Member

Dynamically load videos from SharePoint Library into PowerApps

Dear community,


I am building an app that should display media resources (images and videos) from a SharePoint Library. There is only one picture / video shown at a time and should dynamically change based on user input.

with the proposal of @v-xida-msft in this topic:

I could implement the function for images sucessfully:


Image property of Image control:
LookUp(SPLibrary,'File name with extension'=LookUp(SPList,ItemNumber=CurrentItem,FileName)).'{Thumbnail}'.Large

- SPLibrary being the SharePoint library containing the image files (e.g. picture1.jpg)
- SPList being the SharePoint list with a column of type Single line of text called "FileName". The entries in this column match the file names in the library (e.g. picture1.jpg)
- CurrentItem being a global variable that is indicating the currently active column (=image) of the SharePoint list. This variable is changed on user input.

As this solution works fine with images, I could not get it working with video files. 
Can you give me some advice how to archive this?



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,355)