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

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (52,669)