@joshseides wrote:
Hello, I've tried for a really long time to just play a simple local sound file when clicking a button element.
I looked into an example from
http://www.gajotres.net/playing-native-audio-using-ionic-framework-and-cordova/
But when I ran ionic serve --lab on this example, the GUI and everything looked good but when I clicked Play no audio came out.
I know the cordova plugin for native audio should work but I still haven't been able to find any examples out there that have just a simple button that plays a local sound.
Any help would be much appreciated. Thank you!
Posts: 5
Participants: 3