Notifications
Announcements
I've uploaded a small .WAV sound effect file to my app's audio media, and I'd like it to play whenever a button is selected. I've seen the UpdateContext approach, but I can't figure out how to specify which audio file should play.
Hi Ajones,
I had uploaded a WAV audio to my App’s Audio Media. Then I added an Audio control and a Button control to my App, I set the Audio’s Media property to the file name that I added, and set its AutoStart property to if(Button.Pressed, true, false). When I click the button, the audio file would be played.
This article about Audio and Video controls in PowerApps could be a reference for you:https://powerapps.microsoft.com/en-us/tutorials/control-audio-video/
Best regards,Mabel Mao
That worked perfectly. Thanks!
To further this, would it be possible for a button to be pressed, then sound plays, but activity only takes place after sound has finished. OnSelect Wait for sound to finish, then navigate to another screen. Otherwise the sound it cut short upon navigate. Alternatively is it possible to play a sound from another screen?
Hi @DavidBarclay
There is no "Wait until sound is finished" however if you want to play the sound when a button is clicked and then navigate away.
You can setup this with using timer (you will have to manually set the delay). This way when someone presses the button you can play the sound and start the timer, after timer ends it can Navigate to your next screen.
Thanks for the tip, it a solution to my challenge.
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268