Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Play sharepoint library audio file in Mobile apps

(0) ShareShare
ReportReport
Posted on by
Hey everyone, hope you're all doing well.
 
I have a Power Apps canvas app with a Gallery connected to a SharePoint document library that stores .wav audio files.
 
In the gallery, i add an audio control to play the audio, and the media is ThisItem.'File name with extension'
 
On desktop browser, the audio plays perfectly.  Audio.Duration shows the correct value, and playback is smooth.

But on Power Apps mobile (iOS/Android), the same audio: 
1. Does not play
2. Duration shows 0
3. No error message appears
 
Would really appreciate help from anyone who's managed to get SharePoint audio streaming working on mobile inside Power Apps. Thanks!
  • MarkRahn Profile Picture
    1,049 Super User 2025 Season 1 on at
    Play sharepoint library audio file in Mobile apps
    Hi,
     
    I did some research on this and unfortunately currently I can't find a way to make this work. I created an App just like you did with a SharePoint Library. I made a Media Library with Videos.
     
    In the App I made I need to set the Media to: 
    ThisItem.'Link to item'
     
    I tried to follow this YouTube Video by Reza Dorrani:
     
    Unfortunately the Stream control is no longer available in Power Apps.
     
    Since you are working with Audio files, this may work. The Power App is loaded from a different location from the SharePoint site.
    1. On iOS, select Settings > go to Power Apps.
    2. Set the toggle for Allow Cross-Website Tracking to On.
     
    I was actually able to set the Video control - Media property to Reza's video and it play from the Power App on iOS mobile.
     
    It has to be something with how the Power App is trying to communicate with SharePoint or authentication with SharePoint. I could not get any of the possible links to a video in SharePoint to work except for using ThisItem.'Link to item' This only worked in a browser and not on the Mobile App.
     
    Sorry I don't have better news.
     
    This community is supported by individuals freely devoting their time to answer questions and provide support. They do it to let you know you are not alone. This is a community.

    If someone has been able to answer your questions or solve your problem, please click Does this answer your question. This will help others who have the same question find a solution quickly via the forum search.

    If someone was able to provide you with more information that moved you closer to a solution, throw them a Like. It might make their day. 😊

    Thanks
    -Mark

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >