MP3 audio does not play when button is clicked. Help please

I’m working on an app that plays audio when the button is clicked. I have a player component with audio and a source. But when the app is installed, the button does not play audio when it is clicked. Need some help finding a solution for this.

Code:

Android Builder.pdf (735.6 KB)

the source must be a path of an audio file like
/storage/emulated/0/Download/file.mp3
you can get it by using the Audio Picker component

or URL of Audio file like :

https://baserow-media.ams3.digitaloceanspaces.com/user_files/Imd8qPS6WhMgaACGN48Tys5jyuLF9oIF_38ddaae0242789386f8e8ed205205e2296da571e7e9222b100ce8f6b6c394e85.mp3

2 Likes